Skip to content

Remove failing ff.create_choropleth test #5132

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

Merged
merged 1 commit into from
Apr 7, 2025
Merged
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
60 changes: 0 additions & 60 deletions tests/test_optional/test_figure_factory/test_figure_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -4108,66 +4108,6 @@ def test_scope_is_not_list(self):
scope="foo",
)

def test_full_choropleth(self):
fips = [1001]
values = [1]
fig = ff.create_choropleth(fips=fips, values=values, simplify_county=1)

exp_fig_head = (
-88.053375,
-88.02916499999999,
-88.02432999999999,
-88.04504299999999,
-88.053375,
np_nan(),
-88.211209,
-88.209999,
-88.208733,
-88.209559,
-88.211209,
np_nan(),
-88.22511999999999,
-88.22128099999999,
-88.218694,
-88.22465299999999,
-88.22511999999999,
np_nan(),
-88.264659,
-88.25782699999999,
-88.25947,
-88.255659,
-88.264659,
np_nan(),
-88.327302,
-88.20146799999999,
-88.141143,
-88.124658,
-88.074854,
-88.12493599999999,
-88.10665399999999,
-88.149812,
-88.327302,
np_nan(),
-88.346745,
-88.341235,
-88.33288999999999,
-88.346823,
-88.346745,
np_nan(),
-88.473227,
-88.097888,
-88.154617,
-88.20295899999999,
-85.605165,
-85.18440000000001,
-85.12218899999999,
-85.142567,
-85.113329,
-85.10533699999999,
)

self.assertEqual(fig["data"][2]["x"][:50], exp_fig_head)


class TestQuiver(TestCaseNoTemplate):
def test_scaleratio_param(self):
Expand Down