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 0395a28 commit b449fa7Copy full SHA for b449fa7
1 file changed
codegen/datatypes.py
@@ -5,12 +5,6 @@
5
from codegen.utils import CAVEAT, write_source_py
6
7
8
-locationmode_traces = [
9
- "choropleth",
10
- "scattergeo",
11
-]
12
-
13
14
def get_typing_type(plotly_type, array_ok=False):
15
"""
16
Get Python type corresponding to a valType string from the plotly schema
@@ -97,7 +91,7 @@ def build_datatype_py(node):
97
91
)
98
92
buffer.write("import copy as _copy\n")
99
93
100
- if node.name_property in locationmode_traces or node.name_property == "template":
94
+ if node.name_property == "template":
101
95
buffer.write("import warnings\n")
102
96
103
# Write class definition
0 commit comments