fix PyPlot spines iteration
This commit is contained in:
parent
71fd38fe26
commit
bea1378ff1
@ -840,8 +840,8 @@ function py_set_scale(ax, sp::Subplot, axis::Axis)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function py_set_axis_colors(sp, ax, a::Axis)
|
function py_set_axis_colors(sp, ax, a::Axis)
|
||||||
for (loc, spine) in ax.spines
|
for loc in ax.spines
|
||||||
spine."set_color"(py_color(a[:foreground_color_border]))
|
ax.spines[loc]."set_color"(py_color(a[:foreground_color_border]))
|
||||||
end
|
end
|
||||||
axissym = Symbol(a[:letter], :axis)
|
axissym = Symbol(a[:letter], :axis)
|
||||||
if PyPlot.PyCall.hasproperty(ax, axissym)
|
if PyPlot.PyCall.hasproperty(ax, axissym)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user