I think an objective comparison of features and performance between Agg
and macosx would be a helpful place to start the discussion, just so we
know what we're talking about here. I seem to recall one of Michiel de
Hoon's original motivations was performance, perhaps related to hardware
rendering, but I haven't seen any solid numbers on that, and I didn't
have a Mac at the time.
I have sort of a long term plan to start doing some benchmarking a la
"Codespeed" on matplotlib, but haven't found the time to really dig into it.
It might make sense to resurrect the PyObjC backend, if that makes sense
as part of the solution, as it has some of the "native GUI" benefits of
macosx without doing reimplementing any of the tricky rendering bits.
Mike
On 09/18/2013 08:30 AM, Phil Elson wrote:
Is it time to have the discussion about dropping the MacOS backend?
I know an incredible amount of top quality developer time has gone
into it, but in truth it is not up to the *Agg backends and without
another massive amount of work, never will be. Not to mention the drag
that having YAB (yet another backend) to maintain and support adds.
Deleting the MacOS backend doesn't mean the end of its life - if
somebody cares enough they will probably set up a repo and maintain it
themselves, but I can think of a million and one things I'd sooner
have matplotlib developers working on than getting the MacOS backend
upto the *Agg standard.
Thoughts?
On 18 September 2013 08:44, Eric Firing <efir...@hawaii.edu
<mailto:efir...@hawaii.edu>> wrote:
On 2013/09/17 4:14 PM, Damon McDougall wrote:
> On Tue, Sep 17, 2013 at 8:55 PM, Damon McDougall
> <damon.mcdoug...@gmail.com <mailto:damon.mcdoug...@gmail.com>>
wrote:
>> On Tue, Sep 17, 2013 at 3:49 PM, Eric Firing
<efir...@hawaii.edu <mailto:efir...@hawaii.edu>> wrote:
>>> When I build mpl from master on python.org <http://python.org>
python 2.7, Mountain Lion,
>>> and try to plot anything with the macosx backend, I am now
getting an
>>> Apple crash--the plot window flashes up and vanishes, and a
big OS X
>>> crash report window pops up. Ipython shows "Trace/BPT trap:
5". I have
>>> never seen anything like this before. Building from 1.3.0
works fine.
>>>
>>> Is anyone else seeing this?
>>>
>>> Master is also broken, at least on my machine, with other
backends. The
>>> suggested fix is
https://github.com/matplotlib/matplotlib/pull/2431.
>>>
>>> Eric
>>
>> Building from master produces a broken build of matplotlib for me.
>> After the build finishes, I get this warning from the linker:
>>
>> ld: warning: ignoring file /opt/local/lib/libfreetype.dylib,
file was
>> built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x
0 0x 0
>> 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the
>> architecture being linked (i386): /opt/local/lib/libfreetype.dylib
>>
>> I don't know why it's compiling with -arch i386. It's also
compiling
>> with -arch x86_64.
>>
>> When I install matplotlib, this is what happens from an ipython
terminal:
>>
>> In [1]: import matplotlib
>> In [2]: print matplotlib.__version__
>> 1.4.x
>> In [3]: matplotlib.use('macosx')
>> In [4]: import matplotlib.pyplot as plt
>> In [5]: fig = plt.figure()
>> In [6]: ax = fig.add_subplot(1, 1, 1)
>> In [7]: ax.plot([1, 2, 3])
>> Out[7]: [<matplotlib.lines.Line2D at 0x107523250>]
>> In [8]: plt.show()
>> Trace/BPT trap: 5
>>
>> git bisecting says that f4adec7b569cfd0b30e0f8367ba8618b9e160f92 is
>> the first bad commit, which you can see the diff of
>>
here<https://github.com/matplotlib/matplotlib/commit/f4adec7b569cfd0b30e0f8367ba8618b9e160f92>.
>> That's a pretty big commit so it'll take a while to track down.
>>
>> I'm kind of swamped with work right now (a colleague I work with
>> recently resigned) so I don't have as much time as I'd like to
>> dedicate to helping out.
>>
>> Eric, I hope that helps a little bit.
Damon,
More than a little bit, thank you!
Eric
>>
>> Best wishes,
>> Damon
>>
>> --
>> Damon McDougall
>> http://www.damon-is-a-geek.com
>> Institute for Computational Engineering Sciences
>> 201 E. 24th St.
>> Stop C0200
>> The University of Texas at Austin
>> Austin, TX 78712-1229
>
> Oh, and I get the linker warning both with last good commit,
*and* the
> first bad commit. Just as another data point.
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power
Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
<mailto:Matplotlib-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
--
_
|\/|o _|_ _. _ | | \.__ __|__|_|_ _ _ ._ _
| ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |
http://www.droettboom.com
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel