pyplot bg color
This commit is contained in:
parent
448fdaecbd
commit
cdc6707ad3
@ -133,7 +133,7 @@ end
|
||||
# note: generate separately so it's easy to comment out
|
||||
generate_markdown(:qwt)
|
||||
generate_markdown(:gadfly)
|
||||
generate_markdown(:unicodeplots)
|
||||
@osx_only generate_markdown(:unicodeplots)
|
||||
generate_markdown(:pyplot)
|
||||
|
||||
|
||||
|
||||
@ -141,6 +141,9 @@ function plot!(::PyPlotPackage, plt::Plot; kw...)
|
||||
d[:serieshandle] = plotfunc(d[:x], d[:y]; extraargs...)
|
||||
end
|
||||
|
||||
# this sets the bg color inside the grid (plt.o.o == matplotlib.Figure)
|
||||
plt.o.o[:axes][1][:set_axis_bgcolor](getPyPlotColor(plt.initargs[:background_color]))
|
||||
|
||||
push!(plt.seriesargs, d)
|
||||
plt
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user