On 26 August 2015 at 16:46, Steven G. Johnson <[email protected]> wrote:
> The answers in the stackoverflow thread you linked work for me, e.g. > > w, h = plt[:figaspect](0.5) > figure(figsize=(w,h)) > plot(rand(10)) > I often have trouble converting from Python+Matplotlib to Julia+PyPlot. Even with your code example, I don't really know what to do. Where do I get that "plt" variable? For future reference, how would I know that the figaspect() function would be located in "plt[:figaspect]". Is there a general rule I can follow? I'm sure you are busy, but is there a chance you might write a tutorial for PyPlot, showing how to convert Python code one finds around the web into equivalent Julia code? Thanks for the help. Cheers, Daniel.
