Thanks.  The main problem I had was that I was using an older version of
Matplotlib; I've upgraded it and used the ggplot style.  Thanks for your
help.



On Tue, Apr 28, 2015 at 3:44 PM, Steven G. Johnson <[email protected]>
wrote:

> Yes, in general you can do anything from PyPlot that you can do from
> Matplotlib, because PyPlot is just a thin wrapper around Matplotlib using
> PyCall, and PyCall lets you call arbitrary Python code.
>
> The "pyplot.style" module is not currently exported by PyCall, you can
> access it via "plt.style":
>
> using PyPlot
> plt.style[:available]
>
> will show available styles, and you can use the ggplot style (assuming it
> is available) with:
>
> plt.style[:use]("ggplot")
>
> (Note that foo.bar in Python becomes foo[:bar] in PyCall.)
>
> Then subsequent plot commands will use the ggplot style.
>



-- 
[email protected]

Reply via email to