Hello,
I have got the same error in versions with the command savefig of
matplotlib. The same code worked a few days ago . This is what I got for
this command myimage[:savefig]("bla.pdf"):
ERROR: LoadError: LoadError: KeyError: savefig not found in getindex at
/home/maquinadt/.julia/v0.4/PyCall/s
The following works:
using PyPlot
a = plot(sin(linspace(-3,3)))
savefig("test.png")
savefig only seems to work on the current figure.
The error message you are seeing comes from the fact that that
"myimage[:savefig]" tells julia to index "myimage" with ":savefig", and this
syntax is just
Ok, thank you!
Sorry for my grammar, I often type very fast and don't check it.
I see your point but it's confusing for me that the same syntax worked a
few days ago. Do you know if this is a new feature of matplotlib?
2015-04-01 23:57 GMT-06:00 René Donner :
> The following works:
>
> using Py
I don't know much about PyCall / PyPlot, so I can't answer that, sorry :-(
Am 02.04.2015 um 19:35 schrieb Diego Tapias :
> Ok, thank you!
> Sorry for my grammar, I often type very fast and don't check it.
> I see your point but it's confusing for me that the same syntax worked a few
> days ag
On Thursday, April 2, 2015 at 1:35:34 PM UTC-4, Diego Tapias wrote:
>
> Ok, thank you!
> Sorry for my grammar, I often type very fast and don't check it.
> I see your point but it's confusing for me that the same syntax worked a
> few days ago. Do you know if this is a new feature of matplotlib