adjust tests
This commit is contained in:
parent
0858de0449
commit
4e53f25893
@ -366,9 +366,7 @@ end # testset
|
|||||||
Plots._update_plot_object(pl)
|
Plots._update_plot_object(pl)
|
||||||
ax_opt = Plots.pgfx_axes(pl.o)[1].options
|
ax_opt = Plots.pgfx_axes(pl.o)[1].options
|
||||||
@test ax_opt["title"] == "Test me"
|
@test ax_opt["title"] == "Test me"
|
||||||
if @test(haskey(ax_opt.dict, "title_style")) isa Test.Pass
|
@test(haskey(ax_opt.dict, "title style")) isa Test.Pass
|
||||||
@test ax_opt["title style"]["at"] == "{(0,1)}"
|
|
||||||
end
|
|
||||||
pl = plot(1:5, plot_title = "Test me", plot_titlefont = (2, :left))
|
pl = plot(1:5, plot_title = "Test me", plot_titlefont = (2, :left))
|
||||||
@test pl[:plot_title] == "Test me"
|
@test pl[:plot_title] == "Test me"
|
||||||
@test pl[:plot_titlefontsize] == 2
|
@test pl[:plot_titlefontsize] == 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user