Skip to content

Commit 2f88ab4

Browse files
committed
Fix wrong import
1 parent 664f3f5 commit 2f88ab4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/startup_scripts/0002_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from IPython.core.formatters import BaseFormatter
55
from traitlets.traitlets import Unicode, ObjectName
66

7-
from e2b_charts import graph_figure_to_graph
7+
from e2b_charts import chart_figure_to_dict
88

99

1010
def _figure_repr_e2b_chart_(self: Figure):
@@ -13,7 +13,7 @@ def _figure_repr_e2b_chart_(self: Figure):
1313
"""
1414
# Get all Axes objects from the Figure
1515
try:
16-
return graph_figure_to_graph(self)
16+
return chart_figure_to_dict(self)
1717
except:
1818
return {}
1919

0 commit comments

Comments
 (0)