Skip to content

Commit 6178d12

Browse files
committed
use a better name for the pdf output
1 parent ce5f5b6 commit 6178d12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plotting.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ function plot_polars(
563563
throw(ArgumentError("Mismatch in number of solvers ($(length(solver_list))), " *
564564
"cases ($total_cases), and labels ($(length(label_list)))"))
565565
end
566+
main_title = replace(title, " " => "_")
566567

567568
# Generate polar data
568569
polar_data_list = []
@@ -763,7 +764,7 @@ function plot_polars(
763764

764765
# Save and show plot
765766
if is_save && !isnothing(save_path)
766-
save_plot(fig, save_path, title, data_type=data_type)
767+
save_plot(fig, save_path, main_title, data_type=data_type)
767768
end
768769

769770
if is_show

0 commit comments

Comments
 (0)