Skip to content

Commit 044f4e3

Browse files
committed
Merge branch 'main' into html-manager-update
2 parents 81f2ef5 + d86f74b commit 044f4e3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/superzip/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
import ipyleaflet as leaf
44
import matplotlib as mpl
5+
import matplotlib.pyplot as plt
56
import numpy as np
67
import pandas as pd
78
import plotly.figure_factory as ff
89
import plotly.graph_objs as go
910
import shiny
1011
from ipyleaflet import basemaps
11-
from matplotlib import cm
1212

1313

1414
def create_map(**kwargs):
@@ -91,7 +91,7 @@ def density_plot(
9191
return go.FigureWidget(data=fig.data, layout=fig.layout)
9292

9393

94-
color_palette = cm.get_cmap("viridis", 10)
94+
color_palette = plt.get_cmap("viridis", 10)
9595

9696
# TODO: how to handle nas (pd.isna)?
9797
def col_numeric(domain: Tuple[float, float], na_color: str = "#808080"):

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ install_requires =
3636
jupyter_core
3737
shiny>=0.6.1.9005
3838
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"
4139
tests_require =
4240
pytest>=3
4341
zip_safe = False

0 commit comments

Comments
 (0)