From c2f2f5419b9b933035e273eca5f23ac6f9430e16 Mon Sep 17 00:00:00 2001 From: MarcoGorelli Date: Sat, 7 Sep 2019 19:03:38 +0100 Subject: [PATCH 1/2] Fix typo in plotly.subplots.py which mentioned a non-existing filepath --- packages/python/plotly/plotly/subplots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/subplots.py b/packages/python/plotly/plotly/subplots.py index bd869ad249f..2957e206831 100644 --- a/packages/python/plotly/plotly/subplots.py +++ b/packages/python/plotly/plotly/subplots.py @@ -1333,7 +1333,7 @@ def _set_trace_grid_reference(trace, layout, grid_ref, row, col, secondary_y=Fal Trace type '{typ}' is not compatible with subplot type '{subplot_type}' at grid position ({row}, {col}) -See the docstring for the specs argument to plotly.subplots.make_subplot +See the docstring for the specs argument to plotly.subplots.make_subplots for more information on subplot types""".format( typ=trace.type, subplot_type=subplot_refs[0].subplot_type, From 551a921985898d957cc7b43137e0c7b47c6eb870 Mon Sep 17 00:00:00 2001 From: MarcoGorelli Date: Sat, 7 Sep 2019 20:12:06 +0100 Subject: [PATCH 2/2] Keep in trailing whitespace --- packages/python/plotly/plotly/subplots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/plotly/plotly/subplots.py b/packages/python/plotly/plotly/subplots.py index 2957e206831..42a37275a41 100644 --- a/packages/python/plotly/plotly/subplots.py +++ b/packages/python/plotly/plotly/subplots.py @@ -1333,7 +1333,7 @@ def _set_trace_grid_reference(trace, layout, grid_ref, row, col, secondary_y=Fal Trace type '{typ}' is not compatible with subplot type '{subplot_type}' at grid position ({row}, {col}) -See the docstring for the specs argument to plotly.subplots.make_subplots +See the docstring for the specs argument to plotly.subplots.make_subplots for more information on subplot types""".format( typ=trace.type, subplot_type=subplot_refs[0].subplot_type,