Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plotly subplots

# this is for merging figure level plotly objects side by side
# not for subplots like fig.add_trace(...)
# figurewidgets can be displayed only in a Jupyter Notebook
import plotly.express as px
import plotly.graph_objects as go
from ipywidgets import HBox, VBox
figs = []
for fig in subplots:
  fig = px.bar(...)
  fig = go.FigureWidget(fig)
  figs.append(fig)
HBox(figs)
Source by community.plotly.com #
 
PREVIOUS NEXT
Tagged: #plotly #subplots
ADD COMMENT
Topic
Name
6+6 =