SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] rcparams/traits

From: Darren D. <dd...@co...> - 2007年07月24日 12:03:08
On Tuesday 24 July 2007 5:20:40 am Fernando Perez wrote:
> Hi all,
>
> if anyone is still following, please update the tconfig work. Run
>
> ipython -wthread
> %run mpltest.py
> mplconf2.tconf.edit_traits()
>
> Edit to your heart's content.
I can't get edit_traits() working on my machine, but I can do it with the 
command line.
> You can then save changes via
>
> mplconf2.write()
The mpltest.py script expects there to be an mplrc2.conf file, but it isnt in 
svn. So the script creates an empty mplrc2_copy.conf file, linked with a 
default MPLConfig, but if I change some properties of mplconf2.tconf, and 
then do mplconf2.write(), the mplrc2_copy.conf file remains blank. 
If I copy mplrc.conf to mplrc2.conf, then I can run mpltest, change my tconf 
properties, call write(), and those changes do get updated in 
mplrc2_copy.conf.
> ps - the auto-generated file now has all class docstrings as comments
> as well as traits handlers info. It should be a pretty good start for
> a manually tweaked one.
I have not been able to auto-generate a default file. As above, the file is 
blank after writing.
> pps - I'm done with this, for a while. I've sunk *way* too much time into
> it.
Thank you Fernando. I'll have a look at the issues I reported when I get a 
chance.
Darren

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 によって変換されたページ (->オリジナル) /