From 20af49558190a654cd219ab4d7b53033e5fb8c64 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Wed, 29 Jun 2016 16:34:06 -0400 Subject: [PATCH] added display_type and extra_kwargs plot attributes --- src/arg_desc.jl | 2 ++ src/args.jl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/arg_desc.jl b/src/arg_desc.jl index 2aa07029..ebd3c443 100644 --- a/src/arg_desc.jl +++ b/src/arg_desc.jl @@ -63,6 +63,8 @@ const _arg_desc = KW( :html_output_format => "Symbol. When writing html output, what is the format? `:png` and `:svg` are currently supported.", :inset_subplots => "nothing or vector of 2-tuple (parent,bbox). optionally pass a vector of (parent,bbox) tuples which are the parent layout and the relative bounding box of inset subplots", :dpi => "Number. Dots Per Inch of output figures", +:display_type => "Symbol (`:auto`, `:gui`, or `:inline`). When supported, `display` will either open a GUI window or plot inline." +:extra_kwargs => "KW (Dict{Symbol,Any}). Pass a map of extra keyword args which may be specific to a backend." # subplot args :title => "String. Subplot title.", diff --git a/src/args.jl b/src/args.jl index feb0f32c..ed315497 100644 --- a/src/args.jl +++ b/src/args.jl @@ -217,6 +217,8 @@ const _plot_defaults = KW( :inset_subplots => nothing, # optionally pass a vector of (parent,bbox) tuples which are # the parent layout and the relative bounding box of inset subplots :dpi => DPI, # dots per inch for images, etc + :display_type => :auto, + :extra_kwargs => KW(), )