[matplotlib-devel] warnings, bugs with GTK backends
Hello all, I just upgraded my matplotlib and gtk distributions because I thought I'd try the GTK3Agg backend (I had been using the GTKAgg backend). I'm using macports for the supporting libraries with git repositories for ipython and matplotlib (today's master [0b8481977016e8f], but I seem to have the same issues with tag v1.3.x) Before installing matplotlib, I did a make clean and then removed everything from the build/ directory, and matplotlib* from python2.7/site-packages/ The following ports are currently installed: gtk2 @2.24.17_1+x11 (active) gtk3 @3.10.0_0+x11 (active) py27-gobject3 @3.8.3_0 (active) py27-gobject @2.28.6_0 (active) If I use the GTKAgg backend I get these warnings (which I did not get before). === Using matplotlib backend: GTKAgg In [1]: x = arange(0,10,0.1) In [2]: plot(x,sin(x)) /Users/mcj/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.8-x86_64.egg/matplotlib/backends/backend_gtk.py:651: Warning: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised gtk.Toolbar.__init__(self) /Users/mcj/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.8-x86_64.egg/matplotlib/backends/backend_gtk.py:651: Warning: Attempt to add property GtkSettings::gtk-button-images after class was initialised gtk.Toolbar.__init__(self) Out[2]: [] === Otherwise everything else seems ok. If I use the GTK3Agg backend, I get no plot window when I do a show(), and when I attempt to exit ipython, I get these errors: === object? -> Details about 'object', use 'object??' for extra details. Using matplotlib backend: GTK3Agg In [1]: x = arange(0,10,0.1) In [2]: plot(x,sin(x)) Out[2]: [] In [3]: show() In [4]: Do you really want to exit ([y]/n)? Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/Users/mcj/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.8-x86_64.egg/matplotlib/_pylab_helpers.py", line 89, in destroy_all manager.destroy() File "/Users/mcj/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.8-x86_64.egg/matplotlib/backends/backend_gtk3.py", line 433, in destroy self.canvas.destroy() AttributeError: FigureManagerGTK3Agg instance has no attribute 'canvas' Error in sys.exitfunc: Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/Users/mcj/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.8-x86_64.egg/matplotlib/_pylab_helpers.py", line 89, in destroy_all manager.destroy() File "/Users/mcj/lib/python2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.8-x86_64.egg/matplotlib/backends/backend_gtk3.py", line 433, in destroy self.canvas.destroy() AttributeError: FigureManagerGTK3Agg instance has no attribute 'canvas' === Anyone have a clue? M -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] LookupError: unknown encoding: error on build
Hi all,
I'm building matplotlib from source (commit 0e7daad6a28160f8a6c5abb,
though v1.3.x also dies this way...) on Mavericks with dependencies
installed with macports. I'm getting this error in the setup:
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.x]
python: yes [2.7.6 (default, Nov 18 2013, 22:33:38) [GCC
4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)]]
platform: yes [darwin]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.8.0]
six: yes [using six version 1.4.1]
dateutil: yes [using dateutil version 1.5]
tornado: yes [using tornado version 3.1.1]
pyparsing: yes [using pyparsing version 2.0.1]
pycxx: yes [Couldn't import. Using local copy.]
libagg: yes [pkg-config information for 'libagg' could not
be found. Using local copy.]
freetype: yes [version 16.2.10]
png: yes [version 1.5.17]
OPTIONAL SUBPACKAGES
sample_data: yes [installing]
toolkits: yes [installing]
tests: yes [using nose version 1.3.0]
OPTIONAL BACKEND EXTENSIONS
macosx: yes [installing, darwin]
qt4agg: no [PyQt4 not found]
gtk3agg: no [Requires pygobject to be installed.]
gtk3cairo: no [Requires pygobject to be installed.]
gtkagg: yes [installing, Gtk: 2.24.22 pygtk: 2.24.0]
tkagg: yes [installing, version 81008]
wxagg: no [requires wxPython]
gtk: yes [installing, Gtk: 2.24.22 pygtk: 2.24.0]
agg: yes [installing]
cairo: yes [installing, version 1.10.0]
windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
dvipng: yes [version 1.14]
ghostscript: yes [version 9.10]
latex: yes [version 3.1415926]
pdftops: yes [version 0.24.3]
running install
running bdist_egg
running egg_info
writing requirements to lib/matplotlib.egg-info/requires.txt
writing lib/matplotlib.egg-info/PKG-INFO
writing namespace_packages to lib/matplotlib.egg-info/namespace_packages.txt
writing top-level names to lib/matplotlib.egg-info/top_level.txt
writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
Traceback (most recent call last):
File "setup.py", line 262, in
**extra_args
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 152, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/install.py",
line 73, in run
self.do_egg_install()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/install.py",
line 93, in do_egg_install
self.run_command('bdist_egg')
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
line 326, in run_command
self.distribution.run_command(command)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/bdist_egg.py",
line 177, in run
self.run_command("egg_info")
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
line 326, in run_command
self.distribution.run_command(command)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py",
line 187, in run
self.find_sources()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py",
line 230, in find_sources
mm.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py",
line 296, in run
self.add_defaults()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/command/egg_info.py",
line 335
[matplotlib-devel] bug in boxplot() xticklabels
Hi all, There's a bug with the xticklabels using boxplot: a = [[1,2,3,4],[1,2,3,4],[1,2,3,4]] clf() boxplot(a, False, 'k', positions=[1000,1500,2000], widths=50) xlim(750,2250) draw() With master branch, I see the xticklabels show as "1", "2", "3" with 1.3.x I see "1000", "1500", "2000" as expected. M -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] Full CPU with GTKAgg when displaying a figure.
Hi All, I don't have time at the moment to submit a ticket, but I thought I'd see if anyone else is having this problem: With latest master on 1.5-devel using GTKAgg backend, (and in ipython 3.0.0-dev, python 2.7.8, MacOSX 10.9.5) if I do figure() and nothing else, and then run 'top', I see Python running 100% CPU for the process. Closing the figure stops Python hogging the CPU. With latest 1.4.x, I do not see it. M -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] backporting the boxplot fix
Is there any possibility of back-porting the fix to the boxplot positions to v1.4.x? This would be ticket #3563. I had thought that this was fixed in 1.4, but it seems to be there again. v1.5-devel (where the boxplot works fine) is not-very-usable for me due to the GTK idle bug. Thanks, M -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF ___ Matplotlib-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
