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 5d86ef4 commit f1475b9Copy full SHA for f1475b9
plotly/grid_objs/grid_objs.py
@@ -35,7 +35,7 @@ def __str__(self):
35
def __repr__(self):
36
return 'Column("{}", {})'.format(self.data, self.name)
37
38
- def to_json(self):
+ def to_plotly_json(self):
39
return {'name': self.name, 'data': self.data}
40
41
plotly/utils.py
@@ -128,7 +128,7 @@ def sageJSONEncoder(self, obj):
128
129
def builtinJSONEncoder(self, obj):
130
try:
131
- return obj.to_json()
+ return obj.to_plotly_json()
132
except AttributeError:
133
return None
134
0 commit comments