From 9c1a5548e1ce2b45417e1894d7fb22b8e222400c Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Tue, 18 Sep 2018 23:50:13 +0200 Subject: [PATCH] small PGFPlots fix in backends.jl --- src/backends.jl | 67 +++++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/src/backends.jl b/src/backends.jl index 77b6d261..7772b9a3 100644 --- a/src/backends.jl +++ b/src/backends.jl @@ -526,39 +526,40 @@ function add_backend_string(::PGFPlotsBackend) """ end -:annotations, -:background_color_legend, -:background_color_inside, -# :background_color_outside, -# :foreground_color_legend, -:foreground_color_grid, :foreground_color_axis, -:foreground_color_text, :foreground_color_border, -:label, -:seriescolor, :seriesalpha, -:linecolor, :linestyle, :linewidth, :linealpha, -:markershape, :markercolor, :markersize, :markeralpha, -:markerstrokewidth, :markerstrokecolor, :markerstrokealpha, :markerstrokestyle, -:fillrange, :fillcolor, :fillalpha, -:bins, -# :bar_width, :bar_edges, -:title, -# :window_title, -:guide, :guide_position, :lims, :ticks, :scale, :flip, :rotation, -:tickfont, :guidefont, :legendfont, -:grid, :legend, -:colorbar, :colorbar_title, -:fill_z, :line_z, :marker_z, :levels, -# :ribbon, :quiver, :arrow, -# :orientation, -# :overwrite_figure, -:polar, -# :normalize, :weights, :contours, -:aspect_ratio, -# :match_dimensions, -:tick_direction, -:framestyle, -:camera, -:contour_labels, +const _pgfplots_attr = merge_with_base_supported([ + :annotations, + :background_color_legend, + :background_color_inside, + # :background_color_outside, + # :foreground_color_legend, + :foreground_color_grid, :foreground_color_axis, + :foreground_color_text, :foreground_color_border, + :label, + :seriescolor, :seriesalpha, + :linecolor, :linestyle, :linewidth, :linealpha, + :markershape, :markercolor, :markersize, :markeralpha, + :markerstrokewidth, :markerstrokecolor, :markerstrokealpha, :markerstrokestyle, + :fillrange, :fillcolor, :fillalpha, + :bins, + # :bar_width, :bar_edges, + :title, + # :window_title, + :guide, :guide_position, :lims, :ticks, :scale, :flip, :rotation, + :tickfont, :guidefont, :legendfont, + :grid, :legend, + :colorbar, :colorbar_title, + :fill_z, :line_z, :marker_z, :levels, + # :ribbon, :quiver, :arrow, + # :orientation, + # :overwrite_figure, + :polar, + # :normalize, :weights, :contours, + :aspect_ratio, + # :match_dimensions, + :tick_direction, + :framestyle, + :camera, + :contour_labels, ]) const _pgfplots_seriestype = [:path, :path3d, :scatter, :steppre, :stepmid, :steppost, :histogram2d, :ysticks, :xsticks, :contour, :shape, :straightline,] const _pgfplots_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]