Forum Discussion
Anonymous
7 years agoNot applicable
Can't run any Python script
Hello, I'm trying to add a Python visual in a report. After adding a fake value to the python viz, I wrote the following script matplotlib.pyplot.plot([1,2,3,4], [5,6,7,8])
matplotlib.pyplot.ylabel...
- Anonymous7 years ago
Hi Dale,
I've found out what the problem is and there is a work-around. I have a Dutch version of Windows. Comma-decimal is standard on my system. In the settings i've chaged it to point-decimal. But it would be nice if the python-visual works the same as the R-visual. When I use the R-visual I don't have the problem with comma- or point decima.
The error that I have is in row 6 of the script. And that is a row that python automatically generates when I open the python-visual.
I use the latest version of anaconda.
Regards,
Paul
McCow
7 years agoResolver III
Hi all!
The another possible solution (workaround) is to change in function figManager parametr figsize.
Try
figsize=rcParams['figure.figsize']
instead
figsize=figsize
figManager = new_figure_manager(num, figsize=rcParams['figure.figsize'], #figsize=figsize, dpi=dpi, facecolor=facecolor, edgecolor=edgecolor, frameon=frameon, FigureClass=FigureClass, **kwargs)
in the pyplot.py
In actual version of Anaconda strings 542-549
Best regards,
Yuri