add extrakw for colorbar positioning control in 3d
This commit is contained in:
parent
d02daafc2e
commit
5a1cd6c00d
@ -1725,7 +1725,8 @@ function _update_plot_object(plt::Plot{PyPlotBackend})
|
|||||||
_cbar_width - 1mm,
|
_cbar_width - 1mm,
|
||||||
height(sp.bbox) - 4mm,
|
height(sp.bbox) - 4mm,
|
||||||
)
|
)
|
||||||
pcts = bbox_to_pcts(cb_bbox, figw, figh)
|
pcts = get(sp[:extra_kwargs], "3d_colorbar_axis", bbox_to_pcts(cb_bbox, figw, figh))
|
||||||
|
|
||||||
sp.attr[:cbar_ax]."set_position"(pcts)
|
sp.attr[:cbar_ax]."set_position"(pcts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user