You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like having both a polar and a non-polar graph in the same subplot doesn't work. In the following simple code, the angular polar graph doesn't work:
import plotly
import plotly.graph_objs as go
import numpy as np
# make 2 plots sublplot
fig = plotly.tools.make_subplots(rows=1, cols=2, specs=[[{}, {}]])
# the first subplot: a histogram
trace1 = go.Histogram(
x=np.random.uniform(1,6,size=62),
)
fig.append_trace(trace1, 1, 1)
# the second subplot: a polar graph
trace2 = go.Scatter(
r = np.random.uniform(1,6,size=62),
t = np.random.uniform(30,5,size=62),
mode='markers',
)
fig.append_trace(trace2, 1, 2)
plotly.offline.plot(fig, filename='temp.html')
Note that if fig.append_trace(trace1, 1, 1) is commented out, the polar graph is plotted. I have been told that subplot doesn't fully support polar graphs.
The text was updated successfully, but these errors were encountered:
It seems like having both a polar and a non-polar graph in the same subplot doesn't work. In the following simple code, the angular polar graph doesn't work:
Note that if
fig.append_trace(trace1, 1, 1)
is commented out, the polar graph is plotted. I have been told that subplot doesn't fully support polar graphs.The text was updated successfully, but these errors were encountered: