Skip to content

Commit 41e9675

Browse files
committed
Use the new CLASSES in tools.py.
1 parent 691bf73 commit 41e9675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotly/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ def validate(obj, obj_type):
12901290
# TODO: Deprecate or move. #283
12911291
from plotly.graph_objs import graph_objs
12921292

1293-
if obj_type not in graph_reference.CLASS_NAMES_TO_OBJECT_NAMES:
1293+
if obj_type not in graph_reference.CLASSES:
12941294
obj_type = graph_reference.string_to_class_name(obj_type)
12951295

12961296
try:

0 commit comments

Comments
 (0)