diff --git a/docs/immerse_examples.md b/docs/immerse_examples.md index 0c621c0b..2a883f77 100644 --- a/docs/immerse_examples.md +++ b/docs/immerse_examples.md @@ -1,6 +1,6 @@ # Examples for backend: immerse -- Supported arguments: `annotation`, `args`, `background_color`, `color`, `fillto`, `group`, `kwargs`, `label`, `layout`, `legend`, `linestyle`, `linetype`, `marker`, `markercolor`, `markersize`, `n`, `nbins`, `nc`, `nr`, `reg`, `show`, `size`, `title`, `width`, `windowtitle`, `x`, `xlabel`, `xlims`, `xticks`, `y`, `ylabel`, `ylims`, `yticks` +- Supported arguments: `annotation`, `background_color`, `color`, `color_palette`, `fillrange`, `fillcolor`, `group`, `label`, `layout`, `legend`, `linestyle`, `linetype`, `linewidth`, `markershape`, `markercolor`, `markersize`, `n`, `nbins`, `nc`, `nr`, `reg`, `show`, `size`, `title`, `windowtitle`, `x`, `xlabel`, `xlims`, `xticks`, `y`, `ylabel`, `ylims`, `yticks`, `xscale`, `yscale`, `xflip`, `yflip`, `z` - Supported values for axis: `:auto`, `:left` - Supported values for linetype: `:none`, `:line`, `:path`, `:steppost`, `:sticks`, `:scatter`, `:heatmap`, `:hexbin`, `:hist`, `:bar`, `:hline`, `:vline`, `:ohlc` - Supported values for linestyle: `:auto`, `:solid`, `:dash`, `:dot`, `:dashdot`, `:dashdotdot` @@ -19,14 +19,14 @@ immerse() A simple line plot of the columns. ```julia -plot(rand(50,5),w=3) +plot(fakedata(50,5),w=3) ``` ![](../img/immerse/immerse_example_1.png) ### Functions -Plot multiple functions. You can also put the function first. +Plot multiple functions. You can also put the function first, or use the form `plot(f, xmin, xmax)` where f is a Function or AbstractVector{Function}. ```julia plot(0:0.01:4π,[sin,cos]) @@ -36,32 +36,34 @@ plot(0:0.01:4π,[sin,cos]) ### -You can also call it with plot(f, xmin, xmax). +Or make a parametric plot (i.e. plot: (fx(u), fy(u))) with plot(fx, fy, umin, umax). ```julia -plot([sin,cos],0,4π) +plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 39: + sin(2x) + end),0,2π,leg=false,fill=(0,:orange)) ``` ![](../img/immerse/immerse_example_3.png) -### +### Colors -Or make a parametric plot (i.e. plot: (fx(u), fy(u))) with plot(fx, fy, umin, umax). +Access predefined palettes (or build your own with the `colorscheme` method). Line/marker colors are auto-generated from the plot's palette, unless overridden. Set the `z` argument to turn on series gradients. ```julia -plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 33: - sin(2x) - end),0,2π,legend=false,fillto=0) +y = rand(100) +plot(0:10:100,rand(11,4),lab="lines",w=3,palette=:grays,fill=(0.5,:auto)) +scatter!(y,z=abs(y - 0.5),m=(10,:heat),lab="grad") ``` ![](../img/immerse/immerse_example_4.png) ### Global -Change the guides/background/limits/ticks. You can also use shorthand functions: `title!`, `xlabel!`, `ylabel!`, `xlims!`, `ylims!`, `xticks!`, `yticks!` +Change the guides/background/limits/ticks. Convenience args `xaxis` and `yaxis` allow you to pass a tuple or value which will be mapped to the relevant args automatically. The `xaxis` below will be replaced with `xlabel` and `xlims` args automatically during the preprocessing step. You can also use shorthand functions: `title!`, `xaxis!`, `yaxis!`, `xlabel!`, `ylabel!`, `xlims!`, `ylims!`, `xticks!`, `yticks!` ```julia -plot(rand(10),title="TITLE",xlabel="XLABEL",ylabel="YLABEL",background_color=RGB(0.2,0.2,0.2),xlim=(-3,13),yticks=0:0.1:1) +plot(rand(20,3),title="TITLE",xaxis=("XLABEL",(-5,30),0:2:20,:flip),yaxis=("YLABEL",:log10),background_color=RGB(0.2,0.2,0.2),leg=false) ``` ![](../img/immerse/immerse_example_5.png) @@ -73,17 +75,17 @@ Use the `axis` arguments. Note: Currently only supported with Qwt and PyPlot ```julia -plot(Vector[randn(100),randn(100) * 100]; axis=[:l,:r],ylabel="LEFT",yrightlabel="RIGHT") +plot(Vector[randn(100),randn(100) * 100]; axis=[:l :r],ylabel="LEFT",yrightlabel="RIGHT") ``` ![](../img/immerse/immerse_example_6.png) -### Vectors w/ pluralized args +### Arguments -Plot multiple series with different numbers of points. Mix arguments that apply to all series (singular... see `marker`) with arguments unique to each series (pluralized... see `colors`). +Plot multiple series with different numbers of points. Mix arguments that apply to all series (marker/markersize) with arguments unique to each series (colors). Special arguments `line`, `marker`, and `fill` will automatically figure out what arguments to set (for example, we are setting the `linestyle`, `linewidth`, and `color` arguments with `line`.) Note that we pass a matrix of colors, and this applies the colors to each series. ```julia -plot(Vector[rand(10),rand(20)]; marker=:ellipse,markersize=8,c=[:red,:blue]) +plot(Vector[rand(10),rand(20)]; marker=(:ellipse,8),line=(:dot,3,[:black :orange])) ``` ![](../img/immerse/immerse_example_7.png) @@ -93,7 +95,7 @@ plot(Vector[rand(10),rand(20)]; marker=:ellipse,markersize=8,c=[:red,:blue]) Start with a base plot... ```julia -plot(rand(100) / 3,reg=true,fillto=0) +plot(rand(100) / 3,reg=true,fill=(0,:green)) ``` ![](../img/immerse/immerse_example_8.png) @@ -103,7 +105,7 @@ plot(rand(100) / 3,reg=true,fillto=0) and add to it later. ```julia -scatter!(rand(100),markersize=6,c=:blue) +scatter!(rand(100),markersize=6,c=:orange) ``` ![](../img/immerse/immerse_example_9.png) @@ -123,11 +125,11 @@ heatmap(randn(10000),randn(10000),nbins=100) ```julia -types = intersect(supportedTypes(),[:line,:path,:steppre,:steppost,:sticks,:scatter]) +types = intersect(supportedTypes(),[:line,:path,:steppre,:steppost,:sticks,:scatter])' n = length(types) x = Vector[sort(rand(20)) for i = 1:n] y = rand(20,n) -plot(x,y,t=types,lab=map(string,types)) +plot(x,y,line=(types,3),lab=map(string,types),ms=15) ``` ![](../img/immerse/immerse_example_11.png) @@ -137,7 +139,7 @@ plot(x,y,t=types,lab=map(string,types)) ```julia -styles = setdiff(supportedStyles(),[:auto]) +styles = setdiff(supportedStyles(),[:auto])' plot(cumsum(randn(20,length(styles)),1); style=:auto,label=map(string,styles),w=5) ``` @@ -148,8 +150,8 @@ plot(cumsum(randn(20,length(styles)),1); style=:auto,label=map(string,styles),w= ```julia -markers = setdiff(supportedMarkers(),[:none,:auto]) -scatter(0.5:9.5,[fill(i - 0.5,10) for i = length(markers):-1:1]; marker=:auto,label=map(string,markers),ms=10) +markers = setdiff(supportedMarkers(),[:none,:auto])' +scatter(0.5:9.5,[fill(i - 0.5,10) for i = length(markers):-1:1]; marker=:auto,label=map(string,markers),ms=12) ``` ![](../img/immerse/immerse_example_13.png) @@ -159,7 +161,7 @@ scatter(0.5:9.5,[fill(i - 0.5,10) for i = length(markers):-1:1]; marker=:auto,la x is the midpoint of the bar. (todo: allow passing of edges instead of midpoints) ```julia -bar(randn(1000)) +bar(randn(999)) ``` ![](../img/immerse/immerse_example_14.png) @@ -182,7 +184,7 @@ histogram(randn(1000),nbins=50) ```julia -subplot(randn(100,5),layout=[1,1,3],t=[:line,:hist,:scatter,:step,:bar],nbins=10,leg=false) +subplot(randn(100,5),layout=[1,1,3],t=[:line :hist :scatter :step :bar],nbins=10,leg=false) ``` ![](../img/immerse/immerse_example_16.png) @@ -192,7 +194,7 @@ subplot(randn(100,5),layout=[1,1,3],t=[:line,:hist,:scatter,:step,:bar],nbins=10 Note here the automatic grid layout, as well as the order in which new series are added to the plots. ```julia -subplot(randn(100,5),n=4) +subplot(fakedata(100,10),n=4,palette=[:grays :blues :heat :lightrainbow],bg=[:orange :pink :darkblue :black]) ``` ![](../img/immerse/immerse_example_17.png) @@ -202,7 +204,7 @@ subplot(randn(100,5),n=4) ```julia -subplot!(randn(100,3)) +subplot!(fakedata(100,10)) ``` ![](../img/immerse/immerse_example_18.png) diff --git a/docs/pyplot_examples.md b/docs/pyplot_examples.md index ec579ad8..f70c449f 100644 --- a/docs/pyplot_examples.md +++ b/docs/pyplot_examples.md @@ -1,8 +1,8 @@ # Examples for backend: pyplot -- Supported arguments: `annotation`, `args`, `axis`, `background_color`, `color`, `foreground_color`, `group`, `kwargs`, `label`, `layout`, `legend`, `linestyle`, `linetype`, `marker`, `markercolor`, `markersize`, `n`, `nbins`, `nc`, `nr`, `show`, `size`, `title`, `width`, `windowtitle`, `x`, `xlabel`, `y`, `ylabel`, `yrightlabel` +- Supported arguments: `annotation`, `axis`, `background_color`, `color`, `fillrange`, `fillcolor`, `foreground_color`, `group`, `label`, `layout`, `legend`, `linestyle`, `linetype`, `linewidth`, `markershape`, `markercolor`, `markersize`, `n`, `nbins`, `nc`, `nr`, `show`, `size`, `title`, `windowtitle`, `x`, `xlabel`, `xlims`, `xticks`, `y`, `ylabel`, `ylims`, `yrightlabel`, `yticks`, `xscale`, `yscale`, `xflip`, `yflip` - Supported values for axis: `:auto`, `:left`, `:right` -- Supported values for linetype: `:none`, `:line`, `:path`, `:step`, `:stepinverted`, `:sticks`, `:scatter`, `:heatmap`, `:hexbin`, `:hist`, `:bar` +- Supported values for linetype: `:none`, `:line`, `:path`, `:step`, `:stepinverted`, `:sticks`, `:scatter`, `:heatmap`, `:hexbin`, `:hist`, `:bar`, `:hline`, `:vline` - Supported values for linestyle: `:auto`, `:solid`, `:dash`, `:dot`, `:dashdot` - Supported values for marker: `:none`, `:auto`, `:rect`, `:ellipse`, `:diamond`, `:utriangle`, `:dtriangle`, `:cross`, `:xcross`, `:star1`, `:hexagon` - Is `subplot`/`subplot!` supported? No @@ -19,14 +19,14 @@ pyplot() A simple line plot of the columns. ```julia -plot(rand(50,5),w=3) +plot(fakedata(50,5),w=3) ``` ![](../img/pyplot/pyplot_example_1.png) ### Functions -Plot multiple functions. You can also put the function first. +Plot multiple functions. You can also put the function first, or use the form `plot(f, xmin, xmax)` where f is a Function or AbstractVector{Function}. ```julia plot(0:0.01:4π,[sin,cos]) @@ -36,32 +36,34 @@ plot(0:0.01:4π,[sin,cos]) ### -You can also call it with plot(f, xmin, xmax). +Or make a parametric plot (i.e. plot: (fx(u), fy(u))) with plot(fx, fy, umin, umax). ```julia -plot([sin,cos],0,4π) +plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 39: + sin(2x) + end),0,2π,leg=false,fill=(0,:orange)) ``` ![](../img/pyplot/pyplot_example_3.png) -### +### Colors -Or make a parametric plot (i.e. plot: (fx(u), fy(u))) with plot(fx, fy, umin, umax). +Access predefined palettes (or build your own with the `colorscheme` method). Line/marker colors are auto-generated from the plot's palette, unless overridden. Set the `z` argument to turn on series gradients. ```julia -plot(sin,(x->begin # /home/tom/.julia/v0.4/Plots/docs/example_generation.jl, line 33: - sin(2x) - end),0,2π,legend=false,fillto=0) +y = rand(100) +plot(0:10:100,rand(11,4),lab="lines",w=3,palette=:grays,fill=(0.5,:auto)) +scatter!(y,z=abs(y - 0.5),m=(10,:heat),lab="grad") ``` ![](../img/pyplot/pyplot_example_4.png) ### Global -Change the guides/background/limits/ticks. You can also use shorthand functions: `title!`, `xlabel!`, `ylabel!`, `xlims!`, `ylims!`, `xticks!`, `yticks!` +Change the guides/background/limits/ticks. Convenience args `xaxis` and `yaxis` allow you to pass a tuple or value which will be mapped to the relevant args automatically. The `xaxis` below will be replaced with `xlabel` and `xlims` args automatically during the preprocessing step. You can also use shorthand functions: `title!`, `xaxis!`, `yaxis!`, `xlabel!`, `ylabel!`, `xlims!`, `ylims!`, `xticks!`, `yticks!` ```julia -plot(rand(10),title="TITLE",xlabel="XLABEL",ylabel="YLABEL",background_color=RGB(0.2,0.2,0.2),xlim=(-3,13),yticks=0:0.1:1) +plot(rand(20,3),title="TITLE",xaxis=("XLABEL",(-5,30),0:2:20,:flip),yaxis=("YLABEL",:log10),background_color=RGB(0.2,0.2,0.2),leg=false) ``` ![](../img/pyplot/pyplot_example_5.png) @@ -73,17 +75,17 @@ Use the `axis` arguments. Note: Currently only supported with Qwt and PyPlot ```julia -plot(Vector[randn(100),randn(100) * 100]; axis=[:l,:r],ylabel="LEFT",yrightlabel="RIGHT") +plot(Vector[randn(100),randn(100) * 100]; axis=[:l :r],ylabel="LEFT",yrightlabel="RIGHT") ``` ![](../img/pyplot/pyplot_example_6.png) -### Vectors w/ pluralized args +### Arguments -Plot multiple series with different numbers of points. Mix arguments that apply to all series (singular... see `marker`) with arguments unique to each series (pluralized... see `colors`). +Plot multiple series with different numbers of points. Mix arguments that apply to all series (marker/markersize) with arguments unique to each series (colors). Special arguments `line`, `marker`, and `fill` will automatically figure out what arguments to set (for example, we are setting the `linestyle`, `linewidth`, and `color` arguments with `line`.) Note that we pass a matrix of colors, and this applies the colors to each series. ```julia -plot(Vector[rand(10),rand(20)]; marker=:ellipse,markersize=8,c=[:red,:blue]) +plot(Vector[rand(10),rand(20)]; marker=(:ellipse,8),line=(:dot,3,[:black :orange])) ``` ![](../img/pyplot/pyplot_example_7.png) @@ -93,7 +95,7 @@ plot(Vector[rand(10),rand(20)]; marker=:ellipse,markersize=8,c=[:red,:blue]) Start with a base plot... ```julia -plot(rand(100) / 3,reg=true,fillto=0) +plot(rand(100) / 3,reg=true,fill=(0,:green)) ``` ![](../img/pyplot/pyplot_example_8.png) @@ -103,7 +105,7 @@ plot(rand(100) / 3,reg=true,fillto=0) and add to it later. ```julia -scatter!(rand(100),markersize=6,c=:blue) +scatter!(rand(100),markersize=6,c=:orange) ``` ![](../img/pyplot/pyplot_example_9.png) @@ -123,11 +125,11 @@ heatmap(randn(10000),randn(10000),nbins=100) ```julia -types = intersect(supportedTypes(),[:line,:path,:steppre,:steppost,:sticks,:scatter]) +types = intersect(supportedTypes(),[:line,:path,:steppre,:steppost,:sticks,:scatter])' n = length(types) x = Vector[sort(rand(20)) for i = 1:n] y = rand(20,n) -plot(x,y,t=types,lab=map(string,types)) +plot(x,y,line=(types,3),lab=map(string,types),ms=15) ``` ![](../img/pyplot/pyplot_example_11.png) @@ -137,7 +139,7 @@ plot(x,y,t=types,lab=map(string,types)) ```julia -styles = setdiff(supportedStyles(),[:auto]) +styles = setdiff(supportedStyles(),[:auto])' plot(cumsum(randn(20,length(styles)),1); style=:auto,label=map(string,styles),w=5) ``` @@ -148,8 +150,8 @@ plot(cumsum(randn(20,length(styles)),1); style=:auto,label=map(string,styles),w= ```julia -markers = setdiff(supportedMarkers(),[:none,:auto]) -scatter(0.5:9.5,[fill(i - 0.5,10) for i = length(markers):-1:1]; marker=:auto,label=map(string,markers),ms=10) +markers = setdiff(supportedMarkers(),[:none,:auto])' +scatter(0.5:9.5,[fill(i - 0.5,10) for i = length(markers):-1:1]; marker=:auto,label=map(string,markers),ms=12) ``` ![](../img/pyplot/pyplot_example_13.png) @@ -159,7 +161,7 @@ scatter(0.5:9.5,[fill(i - 0.5,10) for i = length(markers):-1:1]; marker=:auto,la x is the midpoint of the bar. (todo: allow passing of edges instead of midpoints) ```julia -bar(randn(1000)) +bar(randn(999)) ``` ![](../img/pyplot/pyplot_example_14.png) diff --git a/img/immerse/immerse_example_1.png b/img/immerse/immerse_example_1.png index 8cbb4049..4ea7d606 100644 Binary files a/img/immerse/immerse_example_1.png and b/img/immerse/immerse_example_1.png differ diff --git a/img/immerse/immerse_example_10.png b/img/immerse/immerse_example_10.png index 10b2e9a4..bbefe94d 100644 Binary files a/img/immerse/immerse_example_10.png and b/img/immerse/immerse_example_10.png differ diff --git a/img/immerse/immerse_example_11.png b/img/immerse/immerse_example_11.png index 761639ea..3931a79e 100644 Binary files a/img/immerse/immerse_example_11.png and b/img/immerse/immerse_example_11.png differ diff --git a/img/immerse/immerse_example_12.png b/img/immerse/immerse_example_12.png index 219e7316..c491f919 100644 Binary files a/img/immerse/immerse_example_12.png and b/img/immerse/immerse_example_12.png differ diff --git a/img/immerse/immerse_example_13.png b/img/immerse/immerse_example_13.png index 31667818..7b2d114c 100644 Binary files a/img/immerse/immerse_example_13.png and b/img/immerse/immerse_example_13.png differ diff --git a/img/immerse/immerse_example_14.png b/img/immerse/immerse_example_14.png index 5bc36b48..c1adabae 100644 Binary files a/img/immerse/immerse_example_14.png and b/img/immerse/immerse_example_14.png differ diff --git a/img/immerse/immerse_example_15.png b/img/immerse/immerse_example_15.png index 99882c08..0f07dc33 100644 Binary files a/img/immerse/immerse_example_15.png and b/img/immerse/immerse_example_15.png differ diff --git a/img/immerse/immerse_example_16.png b/img/immerse/immerse_example_16.png index 14053da3..97d9b0f4 100644 Binary files a/img/immerse/immerse_example_16.png and b/img/immerse/immerse_example_16.png differ diff --git a/img/immerse/immerse_example_17.png b/img/immerse/immerse_example_17.png index ee399154..d6184689 100644 Binary files a/img/immerse/immerse_example_17.png and b/img/immerse/immerse_example_17.png differ diff --git a/img/immerse/immerse_example_18.png b/img/immerse/immerse_example_18.png index ff6c357b..0d5e63f4 100644 Binary files a/img/immerse/immerse_example_18.png and b/img/immerse/immerse_example_18.png differ diff --git a/img/immerse/immerse_example_19.png b/img/immerse/immerse_example_19.png index 44da0a3a..8a052cb7 100644 Binary files a/img/immerse/immerse_example_19.png and b/img/immerse/immerse_example_19.png differ diff --git a/img/immerse/immerse_example_2.png b/img/immerse/immerse_example_2.png index 235b997c..f28693a4 100644 Binary files a/img/immerse/immerse_example_2.png and b/img/immerse/immerse_example_2.png differ diff --git a/img/immerse/immerse_example_20.png b/img/immerse/immerse_example_20.png index 37a77f79..288c78a4 100644 Binary files a/img/immerse/immerse_example_20.png and b/img/immerse/immerse_example_20.png differ diff --git a/img/immerse/immerse_example_3.png b/img/immerse/immerse_example_3.png index 7d76f787..940e90ab 100644 Binary files a/img/immerse/immerse_example_3.png and b/img/immerse/immerse_example_3.png differ diff --git a/img/immerse/immerse_example_4.png b/img/immerse/immerse_example_4.png index 5ddf96b2..5ef6812a 100644 Binary files a/img/immerse/immerse_example_4.png and b/img/immerse/immerse_example_4.png differ diff --git a/img/immerse/immerse_example_5.png b/img/immerse/immerse_example_5.png index 84e8fad1..3cec95ce 100644 Binary files a/img/immerse/immerse_example_5.png and b/img/immerse/immerse_example_5.png differ diff --git a/img/immerse/immerse_example_6.png b/img/immerse/immerse_example_6.png index 892eb251..05062c95 100644 Binary files a/img/immerse/immerse_example_6.png and b/img/immerse/immerse_example_6.png differ diff --git a/img/immerse/immerse_example_7.png b/img/immerse/immerse_example_7.png index 1cd74585..78ec0d2f 100644 Binary files a/img/immerse/immerse_example_7.png and b/img/immerse/immerse_example_7.png differ diff --git a/img/immerse/immerse_example_8.png b/img/immerse/immerse_example_8.png index 9a36493c..f968f4cf 100644 Binary files a/img/immerse/immerse_example_8.png and b/img/immerse/immerse_example_8.png differ diff --git a/img/immerse/immerse_example_9.png b/img/immerse/immerse_example_9.png index 653babd5..f2d2bb73 100644 Binary files a/img/immerse/immerse_example_9.png and b/img/immerse/immerse_example_9.png differ diff --git a/img/pyplot/pyplot_example_1.png b/img/pyplot/pyplot_example_1.png index 25dca2f6..1f546559 100644 Binary files a/img/pyplot/pyplot_example_1.png and b/img/pyplot/pyplot_example_1.png differ diff --git a/img/pyplot/pyplot_example_10.png b/img/pyplot/pyplot_example_10.png index 9499782e..0ec0321f 100644 Binary files a/img/pyplot/pyplot_example_10.png and b/img/pyplot/pyplot_example_10.png differ diff --git a/img/pyplot/pyplot_example_11.png b/img/pyplot/pyplot_example_11.png index 1b4ea657..2bbb971a 100644 Binary files a/img/pyplot/pyplot_example_11.png and b/img/pyplot/pyplot_example_11.png differ diff --git a/img/pyplot/pyplot_example_12.png b/img/pyplot/pyplot_example_12.png index 38250ae9..d3a81bfa 100644 Binary files a/img/pyplot/pyplot_example_12.png and b/img/pyplot/pyplot_example_12.png differ diff --git a/img/pyplot/pyplot_example_13.png b/img/pyplot/pyplot_example_13.png index 1339517e..551eca56 100644 Binary files a/img/pyplot/pyplot_example_13.png and b/img/pyplot/pyplot_example_13.png differ diff --git a/img/pyplot/pyplot_example_14.png b/img/pyplot/pyplot_example_14.png index bbf7f0e3..7bbd973f 100644 Binary files a/img/pyplot/pyplot_example_14.png and b/img/pyplot/pyplot_example_14.png differ diff --git a/img/pyplot/pyplot_example_15.png b/img/pyplot/pyplot_example_15.png index 97d2274b..c29d0bdb 100644 Binary files a/img/pyplot/pyplot_example_15.png and b/img/pyplot/pyplot_example_15.png differ diff --git a/img/pyplot/pyplot_example_2.png b/img/pyplot/pyplot_example_2.png index 7910a0f0..f63c717a 100644 Binary files a/img/pyplot/pyplot_example_2.png and b/img/pyplot/pyplot_example_2.png differ diff --git a/img/pyplot/pyplot_example_20.png b/img/pyplot/pyplot_example_20.png index 308b98bb..0afe8137 100644 Binary files a/img/pyplot/pyplot_example_20.png and b/img/pyplot/pyplot_example_20.png differ diff --git a/img/pyplot/pyplot_example_3.png b/img/pyplot/pyplot_example_3.png index daf515cb..9b0926f7 100644 Binary files a/img/pyplot/pyplot_example_3.png and b/img/pyplot/pyplot_example_3.png differ diff --git a/img/pyplot/pyplot_example_4.png b/img/pyplot/pyplot_example_4.png index 3889371d..678a4d8c 100644 Binary files a/img/pyplot/pyplot_example_4.png and b/img/pyplot/pyplot_example_4.png differ diff --git a/img/pyplot/pyplot_example_5.png b/img/pyplot/pyplot_example_5.png index 80c0387d..60e4ad2b 100644 Binary files a/img/pyplot/pyplot_example_5.png and b/img/pyplot/pyplot_example_5.png differ diff --git a/img/pyplot/pyplot_example_6.png b/img/pyplot/pyplot_example_6.png index af6df78e..778ceb72 100644 Binary files a/img/pyplot/pyplot_example_6.png and b/img/pyplot/pyplot_example_6.png differ diff --git a/img/pyplot/pyplot_example_7.png b/img/pyplot/pyplot_example_7.png index ac259d1e..1524de69 100644 Binary files a/img/pyplot/pyplot_example_7.png and b/img/pyplot/pyplot_example_7.png differ diff --git a/img/pyplot/pyplot_example_8.png b/img/pyplot/pyplot_example_8.png index 406e3b43..61c70e92 100644 Binary files a/img/pyplot/pyplot_example_8.png and b/img/pyplot/pyplot_example_8.png differ diff --git a/img/pyplot/pyplot_example_9.png b/img/pyplot/pyplot_example_9.png index f12826f2..e0940937 100644 Binary files a/img/pyplot/pyplot_example_9.png and b/img/pyplot/pyplot_example_9.png differ diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index a103a9d7..bc02c0ff 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -15,6 +15,7 @@ supportedArgs(::PyPlotPackage) = [ :axis, :background_color, :color, + :color_palette, :fillrange, :fillcolor, :foreground_color,