SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] log on a bar chart

From: <jir...@gm...> - 2007年04月18日 12:56:24
Hi all,
anytime when requesting semilogy() on bar or hist chart, following error
occurs:
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/backends/backend_qtagg.py", line 161,
in print_figure
 **kwargs )
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/backends/backend_agg.py", line 456,
in print_figure
 self.draw()
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/backends/backend_agg.py", line 392,
in draw
 self.figure.draw(renderer)
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/figure.py", line 569, in draw
 for a in self.axes: a.draw(renderer)
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/axes.py", line 1155, in draw
 a.draw(renderer)
 File "/usr/lib/python2.5/site-packages/matplotlib-
0.90.0-py2.5-linux-i686.egg/matplotlib/patches.py", line 215, in draw
 tverts = self.get_transform().seq_xy_tups(verts)
ValueError: Cannot take log of nonpositive value
I am sure that there is no negative value (just some zeros - this could be
the problem)
Anybody have an idea how to solve it?

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /