Skip to content

updated subplots import in figure factories #1899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/figure_factory/_bullet.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _bullet(
horizontal_spacing = 1.0 / num_of_lanes
if not vertical_spacing:
vertical_spacing = 1.0 / num_of_lanes
fig = plotly.tools.make_subplots(
fig = plotly.subplots.make_subplots(
num_of_rows,
num_of_cols,
print_grid=False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import plotly.colors as clrs
from plotly.figure_factory import utils
from plotly.graph_objs import graph_objs
from plotly.tools import make_subplots
from plotly.subplots import make_subplots

pd = optional_imports.get_module("pandas")

Expand Down
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/figure_factory/_violin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from plotly import exceptions, optional_imports
import plotly.colors as clrs
from plotly.graph_objs import graph_objs
from plotly.tools import make_subplots
from plotly.subplots import make_subplots

pd = optional_imports.get_module("pandas")
np = optional_imports.get_module("numpy")
Expand Down