diff --git a/src/arg_desc.jl b/src/arg_desc.jl index ce24b8e0..53c8b51f 100644 --- a/src/arg_desc.jl +++ b/src/arg_desc.jl @@ -94,6 +94,7 @@ const _arg_desc = KW( :subplot_index => "Integer. Internal (not set by user). Specifies the index of this subplot in the Plot's `plt.subplot` list.", :colorbar_title => "String. Title of colorbar.", :framestyle => "Symbol. Style of the axes frame. Choose from $(_allFramestyles)", +:camera => "NTuple{2, Int(GR)/Real(Other)}. Sets the view angle (azimuthal, elevation) for 3D plots", # axis args :guide => "String. Axis guide (label).", diff --git a/src/args.jl b/src/args.jl index 3ea3efde..f36f2908 100644 --- a/src/args.jl +++ b/src/args.jl @@ -316,6 +316,7 @@ const _subplot_defaults = KW( :subplot_index => -1, :colorbar_title => "", :framestyle => :axes, + :camera => (30,30), ) const _axis_defaults = KW( @@ -532,6 +533,7 @@ add_aliases(:gridlinewidth, :gridwidth, :grid_linewidth, :grid_width, :gridlw, : add_aliases(:gridstyle, :grid_style, :gridlinestyle, :grid_linestyle, :grid_ls, :gridls) add_aliases(:framestyle, :frame_style, :frame, :axesstyle, :axes_style, :boxstyle, :box_style, :box, :borderstyle, :border_style, :border) add_aliases(:tick_direction, :tickdirection, :tick_dir, :tickdir, :tick_orientation, :tickorientation, :tick_or, :tickor) +add_aliases(:camera, :cam) # add all pluralized forms to the _keyAliases dict for arg in keys(_series_defaults)