SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Steve C. <ste...@ya...> - 2004年03月26日 12:41:47
John,
I'm having a problem with gridlines.
I set
axes.grid : True
in my .matplotlibrc file
But when I run
examples/embedding_in_gtk.py and
examples/simple_plot.py there are no gridlines.
Regards,
Steve
From: John H. <jdh...@ac...> - 2004年03月26日 13:50:24
>>>>> "Steve" == Steve Chaplin <ste...@ya...> writes:
 Steve> John, I'm having a problem with gridlines. I set axes.grid
 Steve> : True in my .matplotlibrc file
 Steve> But when I run examples/embedding_in_gtk.py and
 Steve> examples/simple_plot.py there are no gridlines.
Oops, this was just an oversight. In matplotlib.axes.Axes.cla, change
 self._gridOn = False
to 
 self._gridOn = rcParams['axes.grid']
Should help; thanks for letting me know,
JDH
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 によって変換されたページ (->オリジナル) /