On Thursday, September 1, 2016 at 9:07:07 AM UTC-4, Ahmed Mazari wrote:
>
>
> the link talks about plotting in python . l tried to implement the code 
> but the function  dic is not recognized . the error returned is " dic not 
> defined"
>
>
> *common_params = dict(bins=20,                      range=(-5, 5),         
>              normed="True")*
>

You have to translate to Julia syntax, of course.

(This is the big problem with PyPlot — most of the documentation is for 
Matplotlib, hence it is in Python, and therefore you have to know *both* 
Julia *and* Python in order to translate it effectively.)

In Julia, for example, you write Dict(bins=>20, range=>(-5,5), 
normed=>true) for the equivalent of the Python dict in the example on 
stackoverflow.

Reply via email to