fix wrong method signature
This commit is contained in:
parent
ffca3c1305
commit
9164ee09cb
@ -1,4 +1,7 @@
|
|||||||
style = "blue"
|
style = "blue"
|
||||||
import_to_using = false
|
import_to_using = false
|
||||||
always_use_return = false
|
always_use_return = false
|
||||||
|
conditional_to_if = false
|
||||||
|
whitespace_typedefs = true
|
||||||
short_to_long_function_def = false
|
short_to_long_function_def = false
|
||||||
|
annotate_untyped_fields_with_any = false
|
||||||
|
|||||||
@ -768,22 +768,20 @@ function _update_min_padding!(sp::Subplot{GRBackend})
|
|||||||
h = 0mm
|
h = 0mm
|
||||||
if !isempty(first(xticks))
|
if !isempty(first(xticks))
|
||||||
gr_set_font(
|
gr_set_font(
|
||||||
tickfont(xaxis),
|
tickfont(xaxis), sp,
|
||||||
halign = (:left, :hcenter, :right)[sign(xaxis[:rotation]) + 2],
|
halign = (:left, :hcenter, :right)[sign(xaxis[:rotation]) + 2],
|
||||||
valign = (xaxis[:mirror] ? :bottom : :top),
|
valign = (xaxis[:mirror] ? :bottom : :top),
|
||||||
rotation = xaxis[:rotation],
|
rotation = xaxis[:rotation],
|
||||||
sp
|
|
||||||
)
|
)
|
||||||
l = 0.01 + last(gr_get_ticks_size(xticks, xaxis[:rotation]))
|
l = 0.01 + last(gr_get_ticks_size(xticks, xaxis[:rotation]))
|
||||||
h = max(h, 1mm + get_size(sp)[2] * l * px)
|
h = max(h, 1mm + get_size(sp)[2] * l * px)
|
||||||
end
|
end
|
||||||
if !isempty(first(yticks))
|
if !isempty(first(yticks))
|
||||||
gr_set_font(
|
gr_set_font(
|
||||||
tickfont(yaxis),
|
tickfont(yaxis), sp,
|
||||||
halign = (:left, :hcenter, :right)[sign(yaxis[:rotation]) + 2],
|
halign = (:left, :hcenter, :right)[sign(yaxis[:rotation]) + 2],
|
||||||
valign = (yaxis[:mirror] ? :bottom : :top),
|
valign = (yaxis[:mirror] ? :bottom : :top),
|
||||||
rotation = yaxis[:rotation],
|
rotation = yaxis[:rotation],
|
||||||
sp
|
|
||||||
)
|
)
|
||||||
l = 0.01 + last(gr_get_ticks_size(yticks, yaxis[:rotation]))
|
l = 0.01 + last(gr_get_ticks_size(yticks, yaxis[:rotation]))
|
||||||
h = max(h, 1mm + get_size(sp)[2] * l * px)
|
h = max(h, 1mm + get_size(sp)[2] * l * px)
|
||||||
@ -799,12 +797,11 @@ function _update_min_padding!(sp::Subplot{GRBackend})
|
|||||||
|
|
||||||
if !isempty(first(zticks))
|
if !isempty(first(zticks))
|
||||||
gr_set_font(
|
gr_set_font(
|
||||||
tickfont(zaxis),
|
tickfont(zaxis), sp,
|
||||||
halign = (zaxis[:mirror] ? :left : :right),
|
halign = (zaxis[:mirror] ? :left : :right),
|
||||||
valign = (:top, :vcenter, :bottom)[sign(zaxis[:rotation]) + 2],
|
valign = (:top, :vcenter, :bottom)[sign(zaxis[:rotation]) + 2],
|
||||||
rotation = zaxis[:rotation],
|
rotation = zaxis[:rotation],
|
||||||
color = zaxis[:tickfontcolor],
|
color = zaxis[:tickfontcolor],
|
||||||
sp
|
|
||||||
)
|
)
|
||||||
l = 0.01 + first(gr_get_ticks_size(zticks, zaxis[:rotation]))
|
l = 0.01 + first(gr_get_ticks_size(zticks, zaxis[:rotation]))
|
||||||
w = 1mm + get_size(sp)[1] * l * px
|
w = 1mm + get_size(sp)[1] * l * px
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user