SolverBenchmark.jl icon indicating copy to clipboard operation
SolverBenchmark.jl copied to clipboard

Legend placement appears buggy

Open dpo opened this issue 6 years ago • 6 comments

We set the legend to the :bottomright by default https://github.com/JuliaSmoothOptimizers/SolverBenchmark.jl/blob/master/src/profiles.jl#L66, but the result doesn't reflect that setting: https://github.com/JuliaSmoothOptimizers/JSOSolvers.jl/issues/2#issuecomment-529036660

dpo avatar Sep 07 '19 18:09 dpo

I tested with GR and PyPlot and only GR is broken.

abelsiqueira avatar Sep 09 '19 18:09 abelsiqueira

This recreates it:

plot([scatter(rand(10,2), rand(10,2), legend=:bottomright) for i = 1:5]..., layout=(1,5), size=(2000,400))

Not as extreme, but short.

abelsiqueira avatar Sep 09 '19 18:09 abelsiqueira

https://github.com/jheinen/GR.jl/issues/243

abelsiqueira avatar Sep 09 '19 18:09 abelsiqueira

Thanks!

dpo avatar Sep 09 '19 18:09 dpo

https://github.com/JuliaPlots/Plots.jl/issues/2202 is the correct issue.

dpo avatar Dec 07 '19 21:12 dpo

Apparently, this is a bug related to the interaction between Plots and GR. Maybe we should make inspectdr the default backend?

dpo avatar Jan 23 '20 21:01 dpo