Merge pull request #3016 from bernd1995/bernd1995-plotly-marker_z
Fixed plotly_colorbar_hack() to avoid additional marker
This commit is contained in:
commit
514a7c4fff
@ -824,8 +824,8 @@ function plotly_colorbar_hack(series::Series, plotattributes_base::KW, sym::Symb
|
|||||||
end
|
end
|
||||||
# zrange = zmax == zmin ? 1 : zmax - zmin # if all marker_z values are the same, plot all markers same color (avoids division by zero in next line)
|
# zrange = zmax == zmin ? 1 : zmax - zmin # if all marker_z values are the same, plot all markers same color (avoids division by zero in next line)
|
||||||
plotattributes_out[:marker] = KW(
|
plotattributes_out[:marker] = KW(
|
||||||
:size => 0,
|
:size => 1e-10,
|
||||||
:opacity => 0,
|
:opacity => 1e-10,
|
||||||
:color => [0.5],
|
:color => [0.5],
|
||||||
:cmin => cmin,
|
:cmin => cmin,
|
||||||
:cmax => cmax,
|
:cmax => cmax,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user