MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_choropleth_plot

Method test_choropleth_plot

tests/test_plotly_express.py:19–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

17 labels=dict(pop="Population", gdpPercap="GDP per Capita", lifeExp="Life Expectancy"))
18
19 def test_choropleth_plot(self):
20 gapminder = px.data.gapminder()
21 gapminder2007 = gapminder.query("year == 2007")
22 px.choropleth(gapminder, locations="iso_alpha", color="lifeExp", hover_name="country", animation_frame="year",
23 color_continuous_scale=px.colors.sequential.Plasma, projection="natural earth")
24
25 def test_violin_plot(self):
26 tips = px.data.tips()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected