File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import ipyleaflet as leaf
4
4
import matplotlib as mpl
5
+ import matplotlib .pyplot as plt
5
6
import numpy as np
6
7
import pandas as pd
7
8
import plotly .figure_factory as ff
8
9
import plotly .graph_objs as go
9
10
import shiny
10
11
from ipyleaflet import basemaps
11
- from matplotlib import cm
12
12
13
13
14
14
def create_map (** kwargs ):
@@ -91,7 +91,7 @@ def density_plot(
91
91
return go .FigureWidget (data = fig .data , layout = fig .layout )
92
92
93
93
94
- color_palette = cm .get_cmap ("viridis" , 10 )
94
+ color_palette = plt .get_cmap ("viridis" , 10 )
95
95
96
96
# TODO: how to handle nas (pd.isna)?
97
97
def col_numeric (domain : Tuple [float , float ], na_color : str = "#808080" ):
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ install_requires =
36
36
jupyter_core
37
37
shiny>=0.6.1.9005
38
38
python-dateutil>=2.8.2
39
- # Needed because of https://github.com/python/importlib_metadata/issues/411
40
- importlib-metadata>=4.8.3,<5; python_version < "3.8"
41
39
tests_require =
42
40
pytest>=3
43
41
zip_safe = False
You can’t perform that action at this time.
0 commit comments