8000 Use `object_name` not `class_name` in `help()`. · yuan3y/plotly.py@56412ba · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 56412ba

Browse files
committed
Use object_name not class_name in help().
1 parent e3bf8d4 commit 56412ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plotly/graph_objs/graph_objs_tools.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ def get_help(object_name, path=(), parent_object_names=(), attribute=None):
2020
:return: (str) A printable string to show to users.
2121
2222
"""
23-
class_name = graph_reference.string_to_class_name(object_name)
24-
help_string = 'Help for {}\n\n'.format(class_name)
23+
help_string = 'Help for {}\n\n'.format(object_name)
2524
if object_name in graph_reference.ARRAYS:
2625
help_string += _list_help(object_name, path, parent_object_names)
2726
else:

0 commit comments

Comments
 (0)
0