Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Plotly update - doc fixed" #477

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/visualize/plotly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ All kwargs arguments are passed directly to the corresponding method.
)

It is also possible to combine elements by constructing a
:class:`~plotly.graph_objects.Scattermap` object:
:class:`~plotly.graph_objects.Scattermapbox` object:

.. jupyter-execute::

Expand All @@ -79,7 +79,7 @@ It is also possible to combine elements by constructing a
)

fig.add_trace(
belevingsvlucht.Scattermap(
belevingsvlucht.Scattermapbox(
mode="lines",
line=dict(color="#f58518", width=1),
showlegend=False,
Expand All @@ -90,7 +90,7 @@ It is also possible to combine elements by constructing a
width=600,
height=600,
margin=dict(l=50, r=0, t=40, b=40),
map=dict(
mapbox=dict(
style="carto-positron",
zoom=7,
center=airports["EHLE"].latlon_dict,
Expand Down
16 changes: 0 additions & 16 deletions src/traffic/core/flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -2999,31 +2999,15 @@ def line_geo(self, **kwargs: Any) -> "go.Figure":
raise ImportError("Install plotly or traffic with the plotly extension")

def line_map(
<<<<<<< HEAD
<<<<<<< HEAD
self, map_style: str = "carto-positron", **kwargs: Any
=======
self, mapbox_style: str = "carto-positron", **kwargs: Any
>>>>>>> 3e6901d (Plotly switch from mapbox to maplibre)
=======
self, map_style: str = "carto-positron", **kwargs: Any
>>>>>>> 339371b (swith mapbox to map)
) -> "go.Figure":
raise ImportError("Install plotly or traffic with the plotly extension")

def scatter_geo(self, **kwargs: Any) -> "go.Figure":
raise ImportError("Install plotly or traffic with the plotly extension")

def scatter_map(
<<<<<<< HEAD
<<<<<<< HEAD
self, map_style: str = "carto-positron", **kwargs: Any
=======
self, mapbox_style: str = "carto-positron", **kwargs: Any
>>>>>>> 3e6901d (Plotly switch from mapbox to maplibre)
=======
self, map_style: str = "carto-positron", **kwargs: Any
>>>>>>> 339371b (swith mapbox to map)
) -> "go.Figure":
raise ImportError("Install plotly or traffic with the plotly extension")

Expand Down
Loading