From e3674f1d34ebbc66dce67396a9c8e95a5f20455e Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 21 Jan 2020 17:07:21 +0100 Subject: [PATCH] remove window-title attributes and edit description --- src/arg_desc.jl | 2 +- src/args.jl | 8 -------- src/utils.jl | 9 --------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/arg_desc.jl b/src/arg_desc.jl index 4c81768f..9adad50b 100644 --- a/src/arg_desc.jl +++ b/src/arg_desc.jl @@ -59,7 +59,7 @@ const _arg_desc = KW( :foreground_color => "Color Type. Base color for all foregrounds.", :size => "NTuple{2,Int}. (width_px, height_px) of the whole Plot", :pos => "NTuple{2,Int}. (left_px, top_px) position of the GUI window (note: currently unimplemented)", -:window_title => "String. Title of the window.", +:window_title => "String. Title of the standalone gui-window.", :show => "Bool. Should this command open/refresh a GUI/display? This allows displaying in scripts or functions without explicitly calling `display`", :layout => "Integer (number of subplots), NTuple{2,Integer} (grid dimensions), AbstractLayout (for example `grid(2,2)`), or the return from the `@layout` macro. This builds the layout of subplots.", :link => "Symbol. How/whether to link axis limits between subplots. Values: `:none`, `:x` (x axes are linked by columns), `:y` (y axes are linked by rows), `:both` (x and y are linked), `:all` (every subplot is linked together regardless of layout position).", diff --git a/src/args.jl b/src/args.jl index 08fce1b7..400c91b2 100644 --- a/src/args.jl +++ b/src/args.jl @@ -309,14 +309,6 @@ const _plot_defaults = KW( :size => (600,400), :pos => (0,0), :window_title => "Plots.jl", - :window_titlefontsize => 14, - :window_title_location => :center, # also :left or :right - :window_fontfamily => :match, - :window_titlefontfamily => :match, - :window_titlefonthalign => :hcenter, - :window_titlefontvalign => :vcenter, - :window_titlefontrotation => 0.0, - :window_titlefontcolor => :match, :show => false, :layout => 1, :link => :none, diff --git a/src/utils.jl b/src/utils.jl index b0116564..11c7b210 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1013,15 +1013,6 @@ plottitlefont(p::Plot) = font( p[:plot_titlefontcolor], ) -windowtitlefont(p::Plot) = font( - p[:window_titlefontfamily], - p[:window_titlefontsize], - p[:window_titlefontvalign], - p[:window_titlefonthalign], - p[:window_titlefontrotation], - p[:window_titlefontcolor], -) - colorbartitlefont(sp::Subplot) = font( sp[:colorbar_titlefontfamily], sp[:colorbar_titlefontsize],