Skip to content

Commit b981e72

Browse files
committed
test_offline changes
1 parent 8f1e212 commit b981e72

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

plotly/tests/test_optional/test_offline/test_offline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ def test_default_mpl_plot_generates_expected_html(self):
7070
# Generate matplotlib plot for tests
7171
fig = plt.figure()
7272

73+
# TODO: remove "o" in plt.plot or
74+
# change test for expected ValueError
7375
x = [10, 20, 30]
7476
y = [100, 200, 300]
7577
plt.plot(x, y, "o")

plotly/tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,8 @@ def get_valid_graph_obj(obj, obj_type=None):
13601360
# TODO: Deprecate or move. #283
13611361
from plotly.graph_objs import graph_objs
13621362
try:
1363+
print(graph_objs)
1364+
print(obj_type)
13631365
cls = getattr(graph_objs, obj_type)
13641366
except (AttributeError, KeyError):
13651367
raise exceptions.PlotlyError(

0 commit comments

Comments
 (0)