remove window-title attributes and edit description
This commit is contained in:
parent
d6d2a94375
commit
e3674f1d34
@ -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).",
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user