Search code examples
pythonplotlyplotly-python

Representing a country using plotly


So I want to represent my results on a bubble map using plotly. The problem is that I just found maps for the USA but I need for Portugal!

How can I set my map to represent Portugal?

Thank you in advance for your reply.


Solution

  • Transferring your comment to the answer box, as comments are temporary:

    fig1.update_layout( lonaxis_range= [ -10.0, -6.0 ], lataxis_range= [ 36.0, 42.0 ], ) 
    

    So on that way you limit the range to the county you want to present on a map :)