Skip to content

Commit e5e1457

Browse files
authored
updated subplots import in figure factories (#1899)
1 parent b54adcb commit e5e1457

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: packages/python/plotly/plotly/figure_factory/_bullet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def _bullet(
3535
horizontal_spacing = 1.0 / num_of_lanes
3636
if not vertical_spacing:
3737
vertical_spacing = 1.0 / num_of_lanes
38-
fig = plotly.tools.make_subplots(
38+
fig = plotly.subplots.make_subplots(
3939
num_of_rows,
4040
num_of_cols,
4141
print_grid=False,

Diff for: packages/python/plotly/plotly/figure_factory/_scatterplot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import plotly.colors as clrs
77
from plotly.figure_factory import utils
88
from plotly.graph_objs import graph_objs
9-
from plotly.tools import make_subplots
9+
from plotly.subplots import make_subplots
1010

1111
pd = optional_imports.get_module("pandas")
1212

Diff for: packages/python/plotly/plotly/figure_factory/_violin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from plotly import exceptions, optional_imports
66
import plotly.colors as clrs
77
from plotly.graph_objs import graph_objs
8-
from plotly.tools import make_subplots
8+
from plotly.subplots import make_subplots
99

1010
pd = optional_imports.get_module("pandas")
1111
np = optional_imports.get_module("numpy")

0 commit comments

Comments
 (0)