We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e0f7c commit 47e5e85Copy full SHA for 47e5e85
examples/superzip/utils.py
@@ -2,13 +2,13 @@
2
3
import ipyleaflet as leaf
4
import matplotlib as mpl
5
+import matplotlib.pyplot as plt
6
import numpy as np
7
import pandas as pd
8
import plotly.figure_factory as ff
9
import plotly.graph_objs as go
10
import shiny
11
from ipyleaflet import basemaps
-from matplotlib import cm
12
13
14
def create_map(**kwargs):
@@ -91,7 +91,7 @@ def density_plot(
91
return go.FigureWidget(data=fig.data, layout=fig.layout)
92
93
94
-color_palette = cm.get_cmap("viridis", 10)
+color_palette = plt.get_cmap("viridis", 10)
95
96
# TODO: how to handle nas (pd.isna)?
97
def col_numeric(domain: Tuple[float, float], na_color: str = "#808080"):
0 commit comments