fix wireframe on pyplot
This commit is contained in:
parent
a1ace08d22
commit
664af999cd
@ -1267,7 +1267,7 @@ function _update_min_padding!(sp::Subplot{PyPlotBackend})
|
|||||||
|
|
||||||
|
|
||||||
# optionally add the width of colorbar labels and colorbar to rightpad
|
# optionally add the width of colorbar labels and colorbar to rightpad
|
||||||
if RecipesPipeline.is3d(sp) || haskey(sp.attr, :cbar_ax)
|
if RecipesPipeline.is3d(sp) && haskey(sp.attr, :cbar_ax)
|
||||||
bb = py_bbox(sp.attr[:cbar_handle]."ax"."get_yticklabels"())
|
bb = py_bbox(sp.attr[:cbar_handle]."ax"."get_yticklabels"())
|
||||||
sp.attr[:cbar_width] = width(bb) + (sp[:colorbar_title] == "" ? 0px : 30px)
|
sp.attr[:cbar_width] = width(bb) + (sp[:colorbar_title] == "" ? 0px : 30px)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user