diff --git a/src/backends.jl b/src/backends.jl index ecd9eaa76..a4ecb3948 100644 --- a/src/backends.jl +++ b/src/backends.jl @@ -1348,7 +1348,6 @@ const _unicodeplots_seriestype = [ :heatmap, :contour, # :contour3d, - :permute, :image, :spy, :surface, diff --git a/src/pipeline.jl b/src/pipeline.jl index 90d0f8e7a..fbd5c5366 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -363,6 +363,15 @@ function RecipesPipeline.add_series!(plt::Plot, plotattributes) elseif ms === :vline && (perm == (:x, :y) || perm == (:y, :x)) plotattributes[:markershape] = :hline end + if plotattributes[:seriestype] === :bar # bar calls expand_extrema! in its recipe... + sp = plotattributes[:subplot] + sp[get_attr_symbol(letter1, :axis)][:lims], + sp[get_attr_symbol(letter2, :axis)][:lims] = + sp[get_attr_symbol(letter2, :axis)][:lims], + sp[get_attr_symbol(letter1, :axis)][:lims] + end + plotattributes[:x_extrema], plotattributes[:y_extrema] = + plotattributes[:y_extrema], plotattributes[:x_extrema] plotattributes[letter1], plotattributes[letter2] = plotattributes[letter2], plotattributes[letter1] end