-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugsomething brokensomething broken
Description
scattergl
doesn't match the scatter
svg autorange behavior with fill: for example, fill: 'tozeroy'
like in the gl2d_axes_labels2
mock should trigger the y axis to autorange to zero, and the x axis to autorange tightly rather than padded, despite the markers.
Also: open the same mock and Plotly.restyle(gd, {fill: 'none'})
- the fill will not disappear, though if you add a fill to a plot that doesn't have one, it will appear.
Metadata
Metadata
Assignees
Labels
bugsomething brokensomething broken
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
etpinard commentedon Feb 9, 2018
cc @dfcreative
scattergl
probably suffers from other autorange bugs and/or discrepancies.etpinard commentedon Feb 22, 2018
this one is fixed via #2377. The autorange issues prevail.
etpinard commentedon Feb 22, 2018
@dfcreative I found a pretty bad typo in the scattergl calc step where the marker options container is refered to
options.markers
here, here, here and here instead ofoptions.markers
as set here.This means that
Axis.expand
never got the correct size values here and the autorange computation for scattergl were plain wrong. See image diffs in commit 58c2972 .In short, I'll spend some time during to clean up the scattergl calc, by hopefully reusing as much of
Scatter.calc
as possible.etpinard commentedon Feb 28, 2018
done in #2404
etpinard commentedon Feb 28, 2018
Related: #2417