Skip to content

Commit c187794

Browse files
committed
capitalization
1 parent 4010260 commit c187794

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: packages/python/plotly/codegen/datatypes.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from codegen.utils import PlotlyNode, write_source_py
66

77

8-
Deprecated_mapbox_traces = [
8+
deprecated_mapbox_traces = [
99
"scattermapbox",
1010
"choroplethmapbox",
1111
"densitymapbox",
@@ -102,7 +102,7 @@ def build_datatype_py(node):
102102
)
103103
buffer.write(f"import copy as _copy\n")
104104

105-
if node.name_property in Deprecated_mapbox_traces:
105+
if node.name_property in deprecated_mapbox_traces:
106106
buffer.write(f"from warnings import warn\n")
107107

108108
# Write class definition
@@ -410,7 +410,7 @@ def __init__(self"""
410410
"""
411411
)
412412

413-
if node.name_property in Deprecated_mapbox_traces:
413+
if node.name_property in deprecated_mapbox_traces:
414414
buffer.write(
415415
f"""
416416
warn(

0 commit comments

Comments
 (0)