Skip to content

Commit 58f7eaa

Browse files
committed
updated docs
1 parent 380e921 commit 58f7eaa

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

doc/plotting/plotly/plotly.rst

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,17 @@ pandapower provides interactive network plots using `Plotly <https://plot.ly/pyt
66
These plots are built with arguments and functionalities to be as much as possible analogous with pandapower's
77
matlpotlib plotting library.
88
There is a functionality to translate pandapower network elements into plotly collections (traces).
9-
The different collections for lines, buses or transformers can than be drawn.
9+
The different collections for lines, buses or transformers can then be drawn.
1010

1111
In order to get idea about interactive plot features and possibilities see the `tutorial <http://nbviewer.jupyter.org/github/e2nIEE/pandapower/blob/develop/tutorials/plotly_built-in.ipynb>`_.
1212

13-
1413
If a network has geocoordinates, there is a possibility to represent interactive plots on `MapLibre <https://maplibre.org/>`_ maps.
1514

1615
.. note::
1716

18-
Plots on MapLibre maps are free.
19-
Previously Plotly library used `Mapbox <https://www.mapbox.com/>`_ services which were working
20-
only considering you have a Mapbox account and a `Mapbox Access Token <https://www.mapbox.com/studio>`_.
21-
22-
In previous pandapower versions (until v3.1.3) there was a functionality to
23-
set and get a Mapbox token in pandapower.
24-
After getting a mapbox token it can be set to pandapower as the following ::
25-
26-
from pandapower.plotting.plotly.mapbox_plot import set_mapbox_token
27-
set_mapbox_token('<token>')
28-
29-
This functionality is still working but deprecated and useless in future
17+
Previously Plotly library used `Mapbox <https://www.mapbox.com/>`_ services which required
18+
a Mapbox account and a `Mapbox Access Token <https://www.mapbox.com/studio>`_.
19+
Setting and getting the token is deprecated and will be removed in a future
3020
pandapower releases.
3121

3222
.. toctree::

0 commit comments

Comments
 (0)