Skip to content

Commit 23cb209

Browse files
authored
Add plot functions (opengeos#609)
1 parent dda955d commit 23cb209

File tree

7 files changed

+1024
-0
lines changed

7 files changed

+1024
-0
lines changed

docs/plot.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# plot module
2+
3+
::: leafmap.plot

leafmap/deckgl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from typing import Union, List, Dict, Optional, Tuple, Any
22
from .common import *
33
from .map_widgets import *
4+
from .plot import *
45

56
try:
67
import lonboard

leafmap/foliumap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from .osm import *
1010
from . import examples
1111
from .map_widgets import *
12+
from .plot import *
1213

1314
from branca.element import Figure, JavascriptLink, MacroElement
1415
from folium.elements import JSCSSMixin

leafmap/leafmap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from .pc import *
1313
from . import examples
1414
from .map_widgets import *
15+
from .plot import *
1516

1617
basemaps = Box(xyz_to_leaflet(), frozen_box=True)
1718

leafmap/plot.py

Lines changed: 1016 additions & 0 deletions
Large diffs are not rendered by default.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ nav:
119119
- map_widgets module: map_widgets.md
120120
- osm module: osm.md
121121
- pc module: pc.md
122+
- plot module: plot.md
122123
- plotlymap module: plotlymap.md
123124
- pydeck module: deck.md
124125
- stac module: stac.md

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ipywidgets
1111
matplotlib
1212
numpy
1313
pandas
14+
plotly
1415
pyshp
1516
pystac-client
1617
python-box

0 commit comments

Comments
 (0)