-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
The plotly examples suggest doing filled curves by go.Scatter. I'm trying to fill a rectangular box. The following code works fine:
import plotly
import plotly.graph_objs as go
yval = 1e2
ntrace = go.Scatter(x=[1, 10, 10, 1], y=[yval, yval, -yval, -yval], fill='toself')
fig = go.Figure(data=[ntrace])
fig['layout']['yaxis'].update(range=[-.5, .5])
plotly.offline.plot(fig)
However after changing to yval = 1e3, I get:
In other words, zooming the plot with the bigger rectangle seems to screw up its dimensions.
Metadata
Metadata
Assignees
Labels
No labels

