Skip to content

Commit

Permalink
Add plot functions (opengeos#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Nov 16, 2023
1 parent fa8a442 commit 4de2d94
Show file tree
Hide file tree
Showing 7 changed files with 1,024 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/plot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# plot module

::: leafmap.plot
1 change: 1 addition & 0 deletions leafmap/deckgl.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Union, List, Dict, Optional, Tuple, Any
from .common import *
from .map_widgets import *
from .plot import *

try:
import lonboard
Expand Down
1 change: 1 addition & 0 deletions leafmap/foliumap.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from .osm import *
from . import examples
from .map_widgets import *
from .plot import *

from branca.element import Figure, JavascriptLink, MacroElement
from folium.elements import JSCSSMixin
Expand Down
1 change: 1 addition & 0 deletions leafmap/leafmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from .pc import *
from . import examples
from .map_widgets import *
from .plot import *

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

Expand Down
1,016 changes: 1,016 additions & 0 deletions leafmap/plot.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ nav:
- map_widgets module: map_widgets.md
- osm module: osm.md
- pc module: pc.md
- plot module: plot.md
- plotlymap module: plotlymap.md
- pydeck module: deck.md
- stac module: stac.md
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ipywidgets
matplotlib
numpy
pandas
plotly
pyshp
pystac-client
python-box
Expand Down

0 comments on commit 4de2d94

Please sign in to comment.