Discussion:
[Matplotlib-users] Error on gridspec.py
Albrecht, Jan
2015-05-21 11:34:24 UTC
Permalink
Hi dear all,

I have installed matplot and also six.py and so on.

If i start an example from matplot i get the following eror message:

File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 1087, in subplots
ax0 = fig.add_subplot(gs[0, 0], **subplot_kw)
File "C:\Python26\lib\site-packages\matplotlib\figure.py", line 964, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "C:\Python26\lib\site-packages\matplotlib\axes\_subplots.py", line 75, in __init__
self.update_params()
File "C:\Python26\lib\site-packages\matplotlib\axes\_subplots.py", line 115, in update_params
return_all=True)
File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 425, in get_position
gridspec.get_grid_positions(fig)
File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 86, in get_grid_positions
subplot_params = self.get_subplot_params(fig)
File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 271, in get_subplot_params
subplotpars.update(**update_kw)
TypeError: update() keywords must be strings

Maybe someone can help me, thanks a lot
JAn
Thomas Caswell
2015-05-24 17:44:47 UTC
Permalink
Jan,

If you subscribe to the user list you will be able to post with out
moderation.

Can you point us to which example you are running? From what you have sent
is is very hard to sort out what is going wrong as we have to guess what
you are doing.

Tom

On Sun, May 24, 2015 at 1:38 PM Albrecht, Jan <
Post by Albrecht, Jan
Hi dear all,
I have installed matplot and also six.py and so on.
File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 1087, in subplots
ax0 = fig.add_subplot(gs[0, 0], **subplot_kw)
File "C:\Python26\lib\site-packages\matplotlib\figure.py", line 964, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "C:\Python26\lib\site-packages\matplotlib\axes\_subplots.py", line 75, in __init__
self.update_params()
File "C:\Python26\lib\site-packages\matplotlib\axes\_subplots.py", line
115, in update_params
return_all=True)
File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 425, in get_position
gridspec.get_grid_positions(fig)
File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 86, in
get_grid_positions
subplot_params = self.get_subplot_params(fig)
File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 271,
in get_subplot_params
subplotpars.update(**update_kw)
TypeError: update() keywords must be strings
Maybe someone can help me, thanks a lot
JAn
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Matplotlib-users mailing list
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Thomas Caswell
2015-05-30 16:04:37 UTC
Permalink
Jan,

Please keep discussions on the list.

See below for forwarded email

---------- Forwarded message ---------
From: Albrecht, Jan <***@enas.fraunhofer.de>
Date: Tue, May 26, 2015 at 2:58 AM
Subject: AW: [Matplotlib-users] Error on gridspec.py
To: Thomas Caswell <***@gmail.com>


Dear Thomas,



sorry for the last slapdashed E-Mail.



I am using Python-Version 2.6.2 . This version is necessary, because I work
additional with the finite element simulation program ABAQUSTM.

The examples I wanted to test are from the matplot website.



Installed packages :



MatPlot: matplotlib-1.4.3

Numpy 1.6.2

PIL 1.1.7

Dateutil 1.4.1

Six 1.9.0

Pyparsing 2.0.3



I hope this will help to help me.



Mit freundlichen GrÌßen/ kind regards

*Jan Albrecht*



Micro Materials Center Chemnitz at Fraunhofer Institute

for Electronic Nano Systems (ENAS)

Technologie Campus 3

09126 Chemnitz



Tel: 0371 / 45001 424

Fax: 0371 / 45001 524

Email: ***@enas.fraunhofer.de

http://www.enas.fraunhofer.de/de/Abteilungen/MMC.html

____________________________________________________________________

Diese E-Mail kann Betriebs- und GeschÀftsgeheimnisse, dem Anwaltsgeheimnis
unterliegende oder sonstige vertrauliche Informationen enthalten. Sollten
Sie diese E-Mail irrtÃŒmlich erhalten haben, ist Ihnen die Kenntnisnahme des
Inhalts, eine VervielfÀltigung oder Weitergabe der E-Mail ausdrÌcklich
untersagt. Bitte benachrichtigen Sie den Absender der E-Mail und vernichten
die empfangene E-Mail. Vielen Dank.

Since this e-mail contains confidential information, it must be treated
with utmost confidentiality. Any person who may get in contact with this
information by mistake should not take any notice of the topic and should
not pass on or duplicate any part of this information. The e-mail has to be
destroyed and the sender of the e-mail has to be informed immediately.
Thank you.









*Von:* Thomas Caswell [mailto:***@gmail.com]
*Gesendet:* Sonntag, 24. Mai 2015 19:45
*An:* Albrecht, Jan; matplotlib-***@lists.sourceforge.net
*Betreff:* Re: [Matplotlib-users] Error on gridspec.py



Jan,

If you subscribe to the user list you will be able to post with out
moderation.

Can you point us to which example you are running? From what you have sent
is is very hard to sort out what is going wrong as we have to guess what
you are doing.

Tom



On Sun, May 24, 2015 at 1:38 PM Albrecht, Jan <
***@enas.fraunhofer.de> wrote:

Hi dear all,



I have installed matplot and also six.py and so on.



If i start an example from matplot i get the following eror message:



File "C:\Python26\lib\site-packages\matplotlib\pyplot.py", line 1087, in
subplots

ax0 = fig.add_subplot(gs[0, 0], **subplot_kw)

File "C:\Python26\lib\site-packages\matplotlib\figure.py", line 964, in
add_subplot

a = subplot_class_factory(projection_class)(self, *args, **kwargs)

File "C:\Python26\lib\site-packages\matplotlib\axes\_subplots.py", line
75, in __init__

self.update_params()

File "C:\Python26\lib\site-packages\matplotlib\axes\_subplots.py", line
115, in update_params

return_all=True)

File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 425, in
get_position

gridspec.get_grid_positions(fig)

File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 86, in
get_grid_positions

subplot_params = self.get_subplot_params(fig)

File "C:\Python26\lib\site-packages\matplotlib\gridspec.py", line 271, in
get_subplot_params

subplotpars.update(**update_kw)

TypeError: update() keywords must be strings



Maybe someone can help me, thanks a lot

JAn

Loading...