File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -340,22 +340,6 @@ def __init__(self"""
340340 """
341341 )
342342
343- # Add warning for 'country names' locationmode
344- if node .name_property in locationmode_traces :
345- buffer .write (
346- f"""
347- if locationmode == "country names" and kwargs.get("_validate"):
348- warnings.warn(
349- "The library used by the *country names* `locationmode` option is changing in an upcoming version. "
350- "Country names in existing plots may not work in the new version. "
351- "To ensure consistent behavior, consider setting `locationmode` to *ISO-3*.",
352- DeprecationWarning,
353- stacklevel=5,
354- )
355-
356- """
357- )
358-
359343 buffer .write (
360344 f"""
361345 self._skip_invalid = kwargs.pop("skip_invalid", False)
Original file line number Diff line number Diff line change @@ -1111,15 +1111,6 @@ def choropleth(
11111111 colored region mark on a map.
11121112 """
11131113
1114- if locationmode == "country names" :
1115- warn (
1116- "The library used by the *country names* `locationmode` option is changing in an upcoming version. "
1117- "Country names in existing plots may not work in the new version. "
1118- "To ensure consistent behavior, consider setting `locationmode` to *ISO-3*." ,
1119- DeprecationWarning ,
1120- stacklevel = 2 ,
1121- )
1122-
11231114 return make_figure (
11241115 args = locals (),
11251116 constructor = go .Choropleth ,
@@ -1179,15 +1170,6 @@ def scatter_geo(
11791170 by a symbol mark on a map.
11801171 """
11811172
1182- if locationmode == "country names" :
1183- warn (
1184- "The library used by the *country names* `locationmode` option is changing in an upcoming version. "
1185- "Country names in existing plots may not work in the new version. "
1186- "To ensure consistent behavior, consider setting `locationmode` to *ISO-3*." ,
1187- DeprecationWarning ,
1188- stacklevel = 2 ,
1189- )
1190-
11911173 return make_figure (
11921174 args = locals (),
11931175 constructor = go .Scattergeo ,
You can’t perform that action at this time.
0 commit comments