SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Updating MPlot3D to a more recent matplotlib.

From: Reinier H. <re...@he...> - 2009年03月30日 07:13:11
Hi,
I think that except for contourf3D everything is functioning fine
again, so I'm thinking about packaging/distributing it. (I will try to
fix contourf3D as well when I can find some time)
2009年3月3日 John Hunter <jd...@gm...>:
>
>
> On Mon, Mar 2, 2009 at 10:13 PM, Jonathan Taylor
> <jon...@ut...> wrote:
>>
>> Hi,
>>
>> I saw that 3D plotting was dropped from matplotlib since the last time
>> I used it. Unfortunately, it is pretty necessary for some of the work
>> I am doing. Thus, I have started the process of refactoring the code
>> to work with recent versions of matplotlib.
>>
>> Right now, it is still in very early stages and is quite flaky but I
>> do have some functionality. In particular, I am able to do a regular
>> 3d plot, a wireframe plot and a scatter plot. If this interests
>> anyone I am making the code available via git. Instructions are
>> available on my website at:
>
> That's great -- a number of people were very disappointed to see the
> functionality removed, even though it was primitive compared to a good 3D
> toolkit. The problem was, we could never find a core developer who was
> interested in taking it under his wing. Once you get this to a satisfactory
> point, I suggest you develop it as an mpl toolkit. That way, it will get
> installed with every mpl distro (the plain vanilla toolkits we ship, the
> complex ones like basemap are distributed separately) but without the
> implicit promise of full support until someone is willing to step up and
> offer to fully support it.
>
> JDH
>
That sounds good. I assume you mean adding it to lib/mpl_toolkits in
the matplotlib source? It would be great to do this soon.
I also tried to create a separate mpl_toolkit installer with
setuptools, but can't get that to work properly:
In [2]: import mpl_toolkits.mplot3d
/usr/lib/python2.5/site-packages/mpl_toolkits/__init__.py:2:
UserWarning: Module mpl_toolkits was already imported from
/usr/lib/python2.5/site-packages/mpl_toolkits/__init__.pyc, but
/usr/lib/python2.5/site-packages/mplot3d-0.1-py2.5.egg is being added
to sys.path
 __import__('pkg_resources').declare_namespace(__name__)
This can probably be fixed, but I would prefer things to live in the
matplotlib tree, and I'm willing to volunteer to support it.
Cheers,
-- 
Reinier Heeres
Waalstraat 17
2515 XK Den Haag
The Netherlands
Tel: +31 6 10852639

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