Skip to content

Commit b449fa7

Browse files
committed
remove locationmode_traces
1 parent 0395a28 commit b449fa7

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

codegen/datatypes.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
from codegen.utils import CAVEAT, write_source_py
66

77

8-
locationmode_traces = [
9-
"choropleth",
10-
"scattergeo",
11-
]
12-
13-
148
def get_typing_type(plotly_type, array_ok=False):
159
"""
1610
Get Python type corresponding to a valType string from the plotly schema
@@ -97,7 +91,7 @@ def build_datatype_py(node):
9791
)
9892
buffer.write("import copy as _copy\n")
9993

100-
if node.name_property in locationmode_traces or node.name_property == "template":
94+
if node.name_property == "template":
10195
buffer.write("import warnings\n")
10296

10397
# Write class definition

0 commit comments

Comments
 (0)