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

Add plot functions #609

Merged
merged 1 commit into from
Nov 16, 2023
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
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
Loading