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
On cartesian SVG plots the zorder is not followed by overlaying subplots. Only the traces within the same subplot are ordered by zorder. Since overlaying axes create additional subplots (i.e xy, xy2) the traces in the main subplot are always below the overlaying subplot.
The traces are in the order (from below to above): x1y1 (blue), x1y2 (red), x2y1 (green), x2y2 (orange). They follow alphabetical order by subplot name
Expected output:
The traces should be in the order (from below to above): x1y1 (blue), x2y2 (orange), x2y1 (green), x1y2 (red).
The text was updated successfully, but these errors were encountered:
Description:
On cartesian SVG plots the
zorder
is not followed by overlaying subplots. Only the traces within the same subplot are ordered byzorder
. Since overlaying axes create additional subplots (i.exy
,xy2
) the traces in the main subplot are always below the overlaying subplot.Reproduce this bug:
plotly.js version 2.29.1
Code
Output
The traces are in the order (from below to above):
x1y1
(blue),x1y2
(red),x2y1
(green),x2y2
(orange).They follow alphabetical order by subplot name
Expected output:
The traces should be in the order (from below to above):
x1y1
(blue),x2y2
(orange),x2y1
(green),x1y2
(red).The text was updated successfully, but these errors were encountered: