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
At the moment, all error bar containers (i.e. error_x, error_y and error_z) are linked to the same attribute declarations found in src/components/errorbars/attributes.js.
But, the error bar attributes contains container-specific attributes, namely, copy_ystyle and copy_zstyle (see here). These attribute should only be shown in the relevant containers.
The solution would be make the src/components/errorbars/attributes.js export a function that return attributes specific to the container e.g.:
// in traces/scatter/attributes.jsvarerrorBarAttributes=require('../../components/errorbars/attributes');module.exports={// ...error_x: errorBarAttributes('x'),error_y: errorBarAttributes('y')};
similar to what PR #609 put forward for colorscale attributes.
The text was updated successfully, but these errors were encountered:
At the moment, all error bar containers (i.e.
error_x
,error_y
anderror_z
) are linked to the same attribute declarations found insrc/components/errorbars/attributes.js
.But, the error bar attributes contains container-specific attributes, namely,
copy_ystyle
andcopy_zstyle
(see here). These attribute should only be shown in the relevant containers.The solution would be make the
src/components/errorbars/attributes.js
export a function that return attributes specific to the container e.g.:similar to what PR #609 put forward for colorscale attributes.
The text was updated successfully, but these errors were encountered: