SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S
1
(2)
2
3
4
5
(1)
6
(4)
7
8
(1)
9
10
(4)
11
(3)
12
(1)
13
14
(1)
15
16
(11)
17
(4)
18
(7)
19
(4)
20
(4)
21
(1)
22
(7)
23
(4)
24
(1)
25
(4)
26
(2)
27
(5)
28
29
30
31
(3)




Showing 3 results of 3

From: Benjamin R. <ben...@ou...> - 2011年05月11日 14:38:12
On Thu, Mar 31, 2011 at 11:39 AM, Benjamin Root <ben...@ou...> wrote:
>
>
> On Sat, Mar 26, 2011 at 10:16 AM, Virgil Stokes <vs...@it...> wrote:
>
>> I found that
>>
>> def set_sort_zpos(self,val):
>> '''Set the position to use for z-sorting.'''
>> self._sort_zpos = val
>>
>> was missing from
>>
>> class Line3DCollection(LineCollection) (in matplotlib 1.0.1):
>>
>> Now, with the above method added, add_collection3d works as it should
>> with line
>> segments, and the following will work as expected :-)
>>
>> '''
>> Purpose: Waterfall plot using LineCollection
>> Author: V.P.S. (2011年03月26日)
>> '''
>> from mpl_toolkits.mplot3d import Axes3D
>> from matplotlib.collections import LineCollection
>> from matplotlib.colors import colorConverter
>> import matplotlib.pyplot as plt
>> import numpy as np
>>
>> np.random.seed(40040157) # Used to allow repeatable experiments (plots)
>>
>> fig = plt.figure()
>> ax = fig.gca(projection='3d')
>>
>> cc = [colorConverter.to_rgba(c,alpha=0.6) for c in
>> ('r','g','b','c','y','m','k')]
>> ncc = len(cc)
>>
>> nxs = 5 # Num of points to connect (nxs-1 line segments)
>> # Generate X values
>> xs = np.arange(1, nxs+1, 1)
>>
>> # Create array of Y values (to be updated)
>> ys = np.zeros(nxs)
>>
>> # Create list of Z values
>> nzs = 4 # Num of Z-planes
>> zs = [zs+1 for zs in range(nzs)]
>>
>> # Create list of colors (cyclic) for lines
>> colorlist = [cc[j%ncc] for j in range(nzs)]
>>
>> segs = []
>> # Generate line segments in each Z-plane
>> for j in zs:
>> ys = np.random.rand(nxs)
>> segs.append(zip(xs, ys))
>>
>> curves = LineCollection(segs, colors = colorlist)
>>
>> ax.add_collection3d(curves, zs=zs, zdir='y')
>>
>> ax.set_xlabel('X') # points to right -- X
>> ax.set_xlim3d(0, nxs+1)
>> ax.set_ylabel('Y') # points into screen -- Y
>> ax.set_ylim3d(0, nzs+1)
>> ax.set_zlabel('Z') # points up -- Z
>> ax.set_zlim3d(0, 1)
>>
>> plt.show()
>>
>> Have a Good Day
>> --V
>>
>>
> Virgil,
>
> Thanks for noticing this. There are several missing methods in the various
> 3D collections and artists, and I am sure we haven't found them all yet. I
> am currently too busy to investigate why this particular one was missing,
> but in about a month I will have some time to do so.
>
> Ben Root
>
>
Virgil,
I have verified your observations, and the patch was added to the master
branch. I tried to attribute the patch to you, but I don't think I did it
correctly.
Thanks,
Ben Root
From: Gerald S. <gd...@mr...> - 2011年05月11日 05:58:55
Based on this and some other comments I've made the minimum compatible 
version 1.0.3.
Anyone wishing to test can use the nightly builds here: 
http://www.pyside.org/files/nightly/ or just wait for next months 
release. There's also compiling the PySide source or removing the 
version check too.
Gerald.
On 6/05/2011 4:32 PM, David Trémouilles wrote:
> Hello,
>
> This is not directly related to your patch but I would like to
> report here that I still have at least one issue on MacOs
> that prevent matplotlib to work with your pyside backend.
> Indeed current PySide version (1.0.2) have a bug on MacOS that seems to
> have been fixed recently:
> http://bugs.pyside.org/show_bug.cgi?id=809
> But I will have to wait for next PySide release to
> confirm your pyside patch works on MacOs.
> Will test as soon as next pyside version is out and available on
> macports. I do not have time nor will to test with the latest current
> pyside head.
>
> Regards,
>
> David
>
>
>
> Le 06/05/11 03:36, Gerald Storer a écrit :
>> Hi,
>> I was wondering if I could get a comment on this. Its been 4 weeks
>> since I submitted the original version and it has been more or less
>> production ready since Monday.
>>
>> https://github.com/matplotlib/matplotlib/pull/80
>>
>> Thanks,
>> Gerald.
>>
>> On 11/04/2011 4:49 PM, Gerald Storer wrote:
>>> Hi,
>>> I've submitted a pull request with backend changes that (should) let
>>> all currently supported versions of PyQt work along side PySide. I've
>>> tested with PyQt 4.8.3 and PySide 1.0.0.
>>>
>>> I haven't bothered chasing down old versions of PyQt as they seem
>>> elusive.
>>>
>>> Gerald.
>>>
>>> On 29/03/2011 3:25 AM, bu...@gm... wrote:
>>>> Looking forward, supporting the Python 3 compatible PyQt API is
>>>> likely the way to go.
>>>>
>>>> Le , Gerald Storer<gd...@mr...> a écrit :
>>>>> On 28/03/2011 1:10 AM, Peter Butterworth wrote:
>>>>>
>>>>>
>>>>> Wouldn't it be possible to use a single backend compatible with both
>>>>>
>>>>> PyQt and Pyside ?
>>>>>
>>>>>
>>>>> The current Qt mpl backend uses the old PyQt slots/signals API
>>>> which PySide doesn't really support (there are some macros but they
>>>> don't work 100% the same). From a quick glance at the IPython
>>>> implementation it looks like they are using the new API which means
>>>> older versions (<4.5) of PyQt won't be supported. This might be ok, I
>>>> don't know.
>>>>> If it isn't then, there will need to be some try...excepts around
>>>> the place or separate back ends. If you ignore the PySide bugs I had
>>>> to work around I've only changed ~4 lines in the main backend.
>>>>>
>>>>>
>>>>> Pierre's formlayout is also using an obsolete method that isn't
>>>> present in PySide. I've opted to emulate it, but it would be best to
>>>> change the code to use the alternative method available in both PyQt
>>>> and PySide. formlayout also uses the old QString implementation of
>>>> PyQt, PySide only supports the new implementation where QString is
>>>> transparently convert to/from str/unicode. Setting QString = unicode
>>>> seems to work though.
>>>>>
>>>>>
>>>>> Gerald.
>>>>>
>>
>>
>> ------------------------------------------------------------------------------
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today. Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> _______________________________________________
>> Matplotlib-devel mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: <bu...@gm...> - 2011年05月11日 04:49:14
I've been trying to run the matplotlib test suite but the docs seem 
incomplete on this subject.
>> http://matplotlib.github.com/devel/coding_guide.html#running-the-tests
Running the tests is simple. Make sure you have nose installed and type 
from within Python:
import matplotlib
matplotlib.test()
To run a single test from the command line, you can provide a dot-separated 
path to the module and function, eg. (this is assuming the test is 
installed):
nosetests matplotlib.tests.test_simplification:test_clipping
Most test fail when I do what is suggested because PIL is not installed and 
is a requirement for all image_comparison tests.
A bit more information in the docs would be helpful for first time testers.
IMO the optional dependencies required for running the test suite should be 
listed (possibly in the installation guide:
>> http://matplotlib.github.com/users/installing.html )
and info should be provided on how to run only the tests that don't require 
PIL.
>> matplotlib.test()
...
======================================================================
ERROR: matplotlib.tests.test_mathtext.test_mathtext_stixsans
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py", 
line 187, in runTest
self.test(*self.arg)
File "C:\Python26\lib\site-packages\matplotlib\testing\decorators.py", line 
32, in failer
result = f(*args, **kwargs)
File "C:\Python26\lib\site-packages\matplotlib\testing\decorators.py", line 
122, in decorated_co
mpare_images
in_decorator=True )
File "C:\Python26\lib\site-packages\matplotlib\testing\compare.py", line 
187, in compare_images
raise NotImplementedError, e
NotImplementedError: No module named PIL
----------------------------------------------------------------------
Ran 150 tests in 143.964s
FAILED (KNOWNFAIL=2, errors=133)
Out[4]: False

Showing 3 results of 3

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