Re: [matplotlib-devel] release strategy, and the role of v0_98_5_maint

2009-04-08 Thread william ratcliff
I'd actually prefer it ;>

On Wed, Apr 8, 2009 at 9:14 AM, Charlie Moad  wrote:

> I might be able to squeeze some time in this weekend.  I am not
> thrilled about the new visual studio requirements, nor do I have
> access to it.  I know John started a build script for OSX and I have
> been meaning to try something similar for mingw.  Is anyone opposed to
> creating the official releases with mingw?
>
> - Charlie
>
> On Tue, Apr 7, 2009 at 5:02 PM, Sandro Tosi  wrote:
> > On Tue, Apr 7, 2009 at 18:06, Andrew Straw  wrote:
> >> John Hunter wrote:
> >>> We are not that far away, at least for src snapshots, os x binaries,
> >>> and the docs.  The windows binary would take some work, as would a
> >>> linux binary, eg a debian package.
> >> FWIW, the Debian packagers will want to make their own .debs from the
> >> source package.
> >
> > I'm ready and waiting for a shiny new release to give our beloved
> > Debian users a package to install ;)
> >
> > In unstable we have a "rather old" release, 0.98.3, since I was asked
> > to not upload 0.98.5.2 to the main audience (it's now in experimental,
> > JFTR).
> >
> > Cheers,
> > --
> > Sandro Tosi (aka morph, morpheus, matrixhasu)
> > My website: http://matrixhasu.altervista.org/
> > Me at Debian: http://wiki.debian.org/SandroTosi
> >
> >
> --
> > This SF.net email is sponsored by:
> > High Quality Requirements in a Collaborative Environment.
> > Download a free trial of Rational Requirements Composer Now!
> > http://p.sf.net/sfu/www-ibm-com
> > ___
> > Matplotlib-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
>
>
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] traits?

2009-05-18 Thread william ratcliff
If you switch to traits, will things still build with py2exe?  Are there
speed costs?  Startup time?

Cheers,
William

On Mon, May 18, 2009 at 8:07 PM, Andrew Straw  wrote:

> I've been hacking away at adding support for "dropped spines" to MPL
> (e.g. http://jeb.biologists.org/cgi/content/full/211/3/341/FIG7 ) and
> have come to the conclusion that there is a fundamental issue in the
> code base that the traits package has solved -- many values that depend
> on other values with complicated stuff that happens when one of the
> parent values changes. For example, the location of the text from the
> xaxis depends on the padding value in addition to the xaxis location.
> Now I'm trying to add another element to the mix -- namely an axis spine
> that can change location -- and things are going to spiral into a
> (further) collection of special-cased updates unless there's some
> reworking of the infrastructure.
>
> So, the question is, should I attempt to use traits for this? I guess
> that I won't have the time to re-write the entire code base to use
> traits, but I'd like make a stab a stab at dropped spine support with
> the knowledge that, should I be successful, there's at least a chance we
> would again ship traits with MPL. I imagine we could incrementally move
> more and more to traits if I'm successful, particularly now that we have
> the beginnings of a unit test infrastructure (thanks James!).
>
> -Andrew
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] [Numpy-discussion] [ANN] Announcing the SciPy conference schedule

2009-07-17 Thread william ratcliff
A humble suggestion--for the March meeting of the american physical society,
there is a roommate finder for splitting hotel rooms.  This could be useful
in keeping expenses down for some.  There should be a way to do it without
liability
Cheers,
William

On Wed, Jul 15, 2009 at 10:13 PM, Gael Varoquaux <
[email protected]> wrote:

> The SciPy conference committee is pleased to announce the schedule of the
> conference:
>
> http://conference.scipy.org/schedule
>
> This year’s program is very rich. In order to limit the number of
> interesting talks that we had to turn down, we decided to reduce the
> length of talks. Although this results in many short talks, we hope that
> it will foster discussions, and give new ideas. Many subjects are
> covered, both varying technical subject in the scientific computing
> spectrum, and covering a lot of different research areas.
>
> I would personally like to thank the members of the program committee,
> who spent time reviewing the proposed abstracts and giving the chairs
> feedback.
>
> Fernando Perez and the tutorial presenters are hard at work finishing
> planning all the details of the two-day tutorial session that will
> precede the conference. An introduction tutorial track and an advanced
> tutorial track, both covering various aspect of scientific computing in
> Python, presented by experts in the field, should help many people
> getting up to speed on the amazing technology driving this community.
>
> The SciPy 2009 program committee
>
>* Co-Chair Gaël Varoquaux, Applied Mathematics and Neuroscience,
>* Neurospin, CEA - INRIA Saclay (France)
>* Co-Chair Stéfan van der Walt, Applied Mathematics, University of
>* Stellenbosch (South Africa)
>* Michael Aivazis, Center for Advanced Computing Research, California
>* Institute of Technology (USA)
>* Brian Granger, Physics Department, California Polytechnic State
>* University, San Luis Obispo (USA)
>* Aric Hagberg, Theoretical Division, Los Alamos National Laboratory
>* (USA)
>* Konrad Hinsen, Centre de Biophysique Moléculaire, CNRS Orléans
>* (France)
>* Randall LeVeque, Mathematics, University of Washington, Seattle
>* (USA)
>* Travis Oliphant, Enthought (USA)
>* Prabhu Ramachandran, Department of Aerospace Engineering, IIT
>* Bombay (India)
>* Raphael Ritz, International Neuroinformatics Coordinating Facility
>* (Sweden)
>* William Stein, Mathematics, University of Washington, Seattle (USA)
>
> Conference Chair: Jarrod Millman, Neuroscience Institute, UC Berkeley
> (USA)
>
> ___
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2009-08-31 Thread william ratcliff
Hi!  I just installed matplotlib version .99 (windows vista, python25,
32bit) and found that
this line was missing:
QtGui.qApp.processEvents()

Adding it sped the QT4Agg backend back to reasonable speeds--but it still
seems a bit slow.  Otherwise, I am using the excellent Python(x,y) 2.1.14
release for my python distribution on this machine.  Could this line be
added back?

Cheers,
William


On Tue, Aug 19, 2008 at 4:58 AM, Pierre Raybaut wrote:

> Hi Darren,
>
> 2008/8/18 Darren Dale :
> > Nevermind. It turns out its not exactly poor performance, but for some
> reason
> > the gui events were not getting processed as frequently on windows. Maybe
> Qt
> > changed something in an attempt to optimize performance.
> >
> > I applied a patch in svn 6043, but its a really simple fix. At the end of
> > backend_qt4agg.FigureCanvasQTAgg.draw, after self.update(), add this
> line:
> >
> >QtGui.qApp.processEvents()
> >
> > It seemed to improve things on my windows laptop,  but let me know if it
> fixes
> > the problem for you.
>
> Good work Darren, thanks, it works perfectly!
> That is great news because I found (and reported) this bug three
> months ago, so I was beginning to worry about the future of Qt4
> backend.
> Now I can consider updating PyQt in Python(x,y).
>
> > I forgot to mention, the svg icons display fine for me with windows xp,
> > matplotlib-0.98.
>
> Forget about it, I've just found out that this is related to one of my
> own-made packages.
>
> Thanks
> Pierre
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2009-08-31 Thread william ratcliff
Let me try to upgrade to PyQt 4.5--I'm currently using 4.4.3 on vista 32
bit.  Btw. are you using python 2.6 or 2.5 (I ask because I'm still on 2.5
and am wondering if anyone has noticed any difficulties with 2.6).

Cheers,
Wiliam

On Mon, Aug 31, 2009 at 9:36 AM, Darren Dale  wrote:

> Hi William,
>
> On Mon, Aug 31, 2009 at 8:25 AM, william
> ratcliff wrote:
> > Hi!  I just installed matplotlib version .99 (windows vista, python25,
> > 32bit) and found that
> > this line was missing:
> > QtGui.qApp.processEvents()
> >
> > Adding it sped the QT4Agg backend back to reasonable speeds--but it still
> > seems a bit slow.  Otherwise, I am using the excellent Python(x,y) 2.1.14
> > release for my python distribution on this machine.  Could this line be
> > added back?
>
> Unfortunately, no, that line can not be added back in. When that line
> is in place, the backend attempts to process queued events before it
> is finished processing the current event. It was leading to segfaults
> in some cases. processEvents should not be called in the middle of
> processing an event.
>
> I tested the responsiveness of panning and zooming with and without
> that call to processEvents, on Linux and windows and it looked fine.
> Maybe its an issue related to a specific Qt version on windows. Things
> looked fine for me with Qt-4.5/PyQt-4.5 on 64bit Vista.
>
> Darren
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2009-08-31 Thread william ratcliff
Ok, I upgraded to python 2.6, installed mpl 0.99 qt 4.5, and the new pyqt
and things are more responsive...However, the difference between having that
line in and taking it out are the difference between having pan/zoom events
being extremely responsive and having an extremely noticeable lag.  I've
attached a test file from the web which is rather simple.  You can notice
the lag if you either try to pan/zoom using the toolbar, or if you try to
use the slider to change the sizes of the horizontal bars.

Sigh, upgrading everything to 2.6 is going to be a chore...


Thanks,
William

On Mon, Aug 31, 2009 at 11:30 AM, Darren Dale  wrote:

> I've been using 2.6. It should be fine on windows now, but I can't
> attest to it since I only use windows when I have to test and make
> windows installers.
>
> On Mon, Aug 31, 2009 at 10:02 AM, william
> ratcliff wrote:
> > Let me try to upgrade to PyQt 4.5--I'm currently using 4.4.3 on vista 32
> > bit.  Btw. are you using python 2.6 or 2.5 (I ask because I'm still on
> 2.5
> > and am wondering if anyone has noticed any difficulties with 2.6).
> >
> > Cheers,
> > Wiliam
> >
> > On Mon, Aug 31, 2009 at 9:36 AM, Darren Dale  wrote:
> >>
> >> Hi William,
> >>
> >> On Mon, Aug 31, 2009 at 8:25 AM, william
> >> ratcliff wrote:
> >> > Hi!  I just installed matplotlib version .99 (windows vista, python25,
> >> > 32bit) and found that
> >> > this line was missing:
> >> > QtGui.qApp.processEvents()
> >> >
> >> > Adding it sped the QT4Agg backend back to reasonable speeds--but it
> >> > still
> >> > seems a bit slow.  Otherwise, I am using the excellent Python(x,y)
> >> > 2.1.14
> >> > release for my python distribution on this machine.  Could this line
> be
> >> > added back?
> >>
> >> Unfortunately, no, that line can not be added back in. When that line
> >> is in place, the backend attempts to process queued events before it
> >> is finished processing the current event. It was leading to segfaults
> >> in some cases. processEvents should not be called in the middle of
> >> processing an event.
> >>
> >> I tested the responsiveness of panning and zooming with and without
> >> that call to processEvents, on Linux and windows and it looked fine.
> >> Maybe its an issue related to a specific Qt version on windows. Things
> >> looked fine for me with Qt-4.5/PyQt-4.5 on 64bit Vista.
> >>
> >> Darren
> >
> >
>
>
>
> --
> "In our description of nature, the purpose is not to disclose the real
> essence of the phenomena but only to track down, so far as it is
> possible, relations between the manifold aspects of our experience" -
> Niels Bohr
>
> "It is a bad habit of physicists to take their most successful
> abstractions to be real properties of our world." - N. David Mermin
>
> "Once we have granted that any physical theory is essentially only a
> model for the world of experience, we must renounce all hope of
> finding anything like the correct theory ... simply because the
> totality of experience is never accessible to us." - Hugh Everett III
>
"""
This demo demonstrates how to embed a matplotlib (mpl) plot 
into a PyQt4 GUI application, including:

* Using the navigation toolbar
* Adding data to the plot
* Dynamically modifying the plot's properties
* Processing mpl events
* Saving the plot to a file from a menu

The main goal is to serve as a basis for developing rich PyQt GUI
applications featuring mpl plots (using the mpl OO API).

Eli Bendersky ([email protected])
License: this code is in the public domain
Last modified: 19.01.2009
"""
import sys, os, random
from PyQt4.QtCore import *
from PyQt4.QtGui import *

import matplotlib
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as 
NavigationToolbar
from matplotlib.figure import Figure


class AppForm(QMainWindow):
def __init__(self, parent=None):
QMainWindow.__init__(self, parent)
self.setWindowTitle('Demo: PyQt with matplotlib')

self.create_menu()
self.create_main_frame()
self.create_status_bar()

self.textbox.setText('1 2 3 4')
self.on_draw()

def save_plot(self):
file_choices = "PNG (*.png)|*.png"

path = unicode(QFileDialog.getSaveFileName(self, 
'Save file', '', 
file_choices))
if path:
self.canvas.print_figu

Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2009-08-31 Thread william ratcliff
I should mention that the latest test was on a windows 32 bit xp box.

On Mon, Aug 31, 2009 at 11:51 AM, william ratcliff <
[email protected]> wrote:

> Ok, I upgraded to python 2.6, installed mpl 0.99 qt 4.5, and the new pyqt
> and things are more responsive...However, the difference between having that
> line in and taking it out are the difference between having pan/zoom events
> being extremely responsive and having an extremely noticeable lag.  I've
> attached a test file from the web which is rather simple.  You can notice
> the lag if you either try to pan/zoom using the toolbar, or if you try to
> use the slider to change the sizes of the horizontal bars.
>
> Sigh, upgrading everything to 2.6 is going to be a chore...
>
>
> Thanks,
> William
>
>
> On Mon, Aug 31, 2009 at 11:30 AM, Darren Dale  wrote:
>
>> I've been using 2.6. It should be fine on windows now, but I can't
>> attest to it since I only use windows when I have to test and make
>> windows installers.
>>
>> On Mon, Aug 31, 2009 at 10:02 AM, william
>> ratcliff wrote:
>> > Let me try to upgrade to PyQt 4.5--I'm currently using 4.4.3 on vista 32
>> > bit.  Btw. are you using python 2.6 or 2.5 (I ask because I'm still on
>> 2.5
>> > and am wondering if anyone has noticed any difficulties with 2.6).
>> >
>> > Cheers,
>> > Wiliam
>> >
>> > On Mon, Aug 31, 2009 at 9:36 AM, Darren Dale 
>> wrote:
>> >>
>> >> Hi William,
>> >>
>> >> On Mon, Aug 31, 2009 at 8:25 AM, william
>> >> ratcliff wrote:
>> >> > Hi!  I just installed matplotlib version .99 (windows vista,
>> python25,
>> >> > 32bit) and found that
>> >> > this line was missing:
>> >> > QtGui.qApp.processEvents()
>> >> >
>> >> > Adding it sped the QT4Agg backend back to reasonable speeds--but it
>> >> > still
>> >> > seems a bit slow.  Otherwise, I am using the excellent Python(x,y)
>> >> > 2.1.14
>> >> > release for my python distribution on this machine.  Could this line
>> be
>> >> > added back?
>> >>
>> >> Unfortunately, no, that line can not be added back in. When that line
>> >> is in place, the backend attempts to process queued events before it
>> >> is finished processing the current event. It was leading to segfaults
>> >> in some cases. processEvents should not be called in the middle of
>> >> processing an event.
>> >>
>> >> I tested the responsiveness of panning and zooming with and without
>> >> that call to processEvents, on Linux and windows and it looked fine.
>> >> Maybe its an issue related to a specific Qt version on windows. Things
>> >> looked fine for me with Qt-4.5/PyQt-4.5 on 64bit Vista.
>> >>
>> >> Darren
>> >
>> >
>>
>>
>>
>> --
>> "In our description of nature, the purpose is not to disclose the real
>> essence of the phenomena but only to track down, so far as it is
>> possible, relations between the manifold aspects of our experience" -
>> Niels Bohr
>>
>> "It is a bad habit of physicists to take their most successful
>> abstractions to be real properties of our world." - N. David Mermin
>>
>> "Once we have granted that any physical theory is essentially only a
>> model for the world of experience, we must renounce all hope of
>> finding anything like the correct theory ... simply because the
>> totality of experience is never accessible to us." - Hugh Everett III
>>
>
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bugs in Qt4 backend with the latest PyQt release

2009-08-31 Thread william ratcliff
Things are more responsive than with python 2.5 and with qt 4.4.3, but the
lag is still noticeable--especially compared to with the addition of the
line.

On Mon, Aug 31, 2009 at 12:05 PM, Darren Dale  wrote:

> I don't understand. With py-2.6, are things more responsive or is
> there an extremely noticeable lag?
>
> On Mon, Aug 31, 2009 at 11:51 AM, william
> ratcliff wrote:
> > Ok, I upgraded to python 2.6, installed mpl 0.99 qt 4.5, and the new pyqt
> > and things are more responsive...However, the difference between having
> that
> > line in and taking it out are the difference between having pan/zoom
> events
> > being extremely responsive and having an extremely noticeable lag.  I've
> > attached a test file from the web which is rather simple.  You can notice
> > the lag if you either try to pan/zoom using the toolbar, or if you try to
> > use the slider to change the sizes of the horizontal bars.
> >
> > Sigh, upgrading everything to 2.6 is going to be a chore...
> >
> >
> > Thanks,
> > William
> >
> > On Mon, Aug 31, 2009 at 11:30 AM, Darren Dale 
> wrote:
> >>
> >> I've been using 2.6. It should be fine on windows now, but I can't
> >> attest to it since I only use windows when I have to test and make
> >> windows installers.
> >>
> >> On Mon, Aug 31, 2009 at 10:02 AM, william
> >> ratcliff wrote:
> >> > Let me try to upgrade to PyQt 4.5--I'm currently using 4.4.3 on vista
> 32
> >> > bit.  Btw. are you using python 2.6 or 2.5 (I ask because I'm still on
> >> > 2.5
> >> > and am wondering if anyone has noticed any difficulties with 2.6).
> >> >
> >> > Cheers,
> >> > Wiliam
> >> >
> >> > On Mon, Aug 31, 2009 at 9:36 AM, Darren Dale 
> wrote:
> >> >>
> >> >> Hi William,
> >> >>
> >> >> On Mon, Aug 31, 2009 at 8:25 AM, william
> >> >> ratcliff wrote:
> >> >> > Hi!  I just installed matplotlib version .99 (windows vista,
> >> >> > python25,
> >> >> > 32bit) and found that
> >> >> > this line was missing:
> >> >> > QtGui.qApp.processEvents()
> >> >> >
> >> >> > Adding it sped the QT4Agg backend back to reasonable speeds--but it
> >> >> > still
> >> >> > seems a bit slow.  Otherwise, I am using the excellent Python(x,y)
> >> >> > 2.1.14
> >> >> > release for my python distribution on this machine.  Could this
> line
> >> >> > be
> >> >> > added back?
> >> >>
> >> >> Unfortunately, no, that line can not be added back in. When that line
> >> >> is in place, the backend attempts to process queued events before it
> >> >> is finished processing the current event. It was leading to segfaults
> >> >> in some cases. processEvents should not be called in the middle of
> >> >> processing an event.
> >> >>
> >> >> I tested the responsiveness of panning and zooming with and without
> >> >> that call to processEvents, on Linux and windows and it looked fine.
> >> >> Maybe its an issue related to a specific Qt version on windows.
> Things
> >> >> looked fine for me with Qt-4.5/PyQt-4.5 on 64bit Vista.
> >> >>
> >> >> Darren
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> "In our description of nature, the purpose is not to disclose the real
> >> essence of the phenomena but only to track down, so far as it is
> >> possible, relations between the manifold aspects of our experience" -
> >> Niels Bohr
> >>
> >> "It is a bad habit of physicists to take their most successful
> >> abstractions to be real properties of our world." - N. David Mermin
> >>
> >> "Once we have granted that any physical theory is essentially only a
> >> model for the world of experience, we must renounce all hope of
> >> finding anything like the correct theory ... simply because the
> >> totality of experience is never accessible to us." - Hugh Everett III
> >
> >
>
>
>
> --
> "In our description of nature, the purpose is not to disclose the real
> essence of the phenomena but only to track down, so far as it is
> possible, relations between the manifold aspects of our experience" -
> Niels Bohr
>
> "It is a bad habit of physicists to take their most successful
> abstractions to be real properties of our world." - N. David Mermin
>
> "Once we have granted that any physical theory is essentially only a
> model for the world of experience, we must renounce all hope of
> finding anything like the correct theory ... simply because the
> totality of experience is never accessible to us." - Hugh Everett III
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] git migration

2010-03-02 Thread william ratcliff
I think there's a legal reason for the embargo--sourceforge apparently also
has such a policy:

http://sourceforge.net/blog/clarifying-sourceforgenets-denial-of-site-access-for-certain-persons-in-accordance-with-us-law/

So,
as a US company, they may not have a choice...

On Wed, Mar 3, 2010 at 12:39 AM, Gökhan Sever  wrote:

>
>
> On Tue, Mar 2, 2010 at 11:03 PM, Matthew Brett wrote:
>
>> Hi,
>>
>> > Apart from being inflammatory, has anyone considered code.google.com(GC) as
>> > a solution?
>>
>> ;)  - speaking as someone with no right to offer an opinion - please,
>> no.   Google blocks Cuba from google code completely, for no obvious
>> reason, and a) that seems to me quite wrong and outside the spirit of
>> free software and b) I work there fairly often and it's hard for me to
>> persuade the excellent scientists there to use Python if they are
>> being specifically blocked for political reasons.
>>
>> See you,
>>
>> Matthew
>>
>
> I didn't really know that Google was embargoing countries on their code
> hosting site. I was more inspired after watching this talk Google I/O 2008
> - Project Hosting on Google Code
> 
>
> It is very interesting for a company that does great things for the OSS
> also blocking code access on certain countries. Thanks for pointing this
> out. Indeed an important point consider.
>
> This is not the first time today my Google integration idea has been
> rejected. During our school's tech forum I asked them the possibilities of
> integrating Google Apps to the university network. The lower cost was a
> reasonable answer, but it is beyond my logic to understand that possible
> plans to integrate something that is not even up (live.edu) :)
>
> --
> Gökhan
>
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] git migration

2010-03-03 Thread william ratcliff
I don't want to get into a flame war over this, but if Sourceforge was
pressured into this and is having complaints and google has the same
problem, how does Github get around it?  Are they incorporated in the US or
outside?  If this is likely to become a problem, is there another service
that can be used with git besides github that would not eventually be
subject to such constraints?  Sorry, I'm just ignorant about such matters.


William

On Wed, Mar 3, 2010 at 2:45 AM, Matthew Brett wrote:

> Hi,
>
> On Tue, Mar 2, 2010 at 10:17 PM, william ratcliff
>  wrote:
> > I think there's a legal reason for the embargo--sourceforge apparently
> also
> > has such a policy:
> >
> http://sourceforge.net/blog/clarifying-sourceforgenets-denial-of-site-access-for-certain-persons-in-accordance-with-us-law/
> > So, as a US company, they may not have a choice...
>
> In my experience Google is the worst in this respect by a considerable
> margin, and has become more so in the last year.
>
> See you,
>
> Matthew
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] web gui

2010-06-16 Thread william ratcliff
I have a student here trying to make a webapp for data reduction.  To add
interactivity, we've been using the FLOT package, and may later consider
protovis.  We had thought about making a javascript backend for MPL, but to
just get something running, we went with FLOT for the time being...We're
using EXTJS as the web framework (it's a bit heavy, but has a rich widget
toolkit and documentation).  We use Django on the backend and Orbited to
deal with some communications between the browser and the server (for
example if we get new data from an instrument and want to update it on the
server and update plots that are viewing that data..).  Over the next couple
of weeks (with the arrival of another student), we will be working more with
the plotting aspect of the project (adding legends, zooming, etc).   Also,
for other parts of the app, we're just using the HTML5 canvas...I'd be happy
to work on making the plotting addons as generic as possible so they can be
used outside of our problem domain.  What I'm not sure is whether one wants
to truly use MPL as a backend, or rather to use the MPL philosophy of a
javascript package.

Cheers,
William

On Wed, Jun 16, 2010 at 6:45 PM, Andrew Straw  wrote:

> Hi Ondrej,
>
> If I was in your shoes, the first thing I'd do is emit your data to plot
> as a json object and then plot that data using javascript with one of
> the libraries you've listed. Then, after gaining some familiarity with
> Python->json->javascript I'd think about how such an MPL backend might
> work. A usecase I could imagine is some Django app that uses MPL to plot
> stuff into a javascript canvas element complete with zooming and so on.
>
> I think there are a lot of open questions in this domain... For example,
> presumably one doesn't want the server involved when the client browser
> zooms. But then if you implement something that allows the client
> browser to zoom without the server MPL process, you're no longer using
> the normal MPL callback system. So, interactivity would probably be
> different than in the traditional backends.
>
> You could also start with the svg backend, as browsers do render svg.
>
> -Andrew
>
> Ondrej Certik wrote:
> > Hi,
> >
> > could someone please point me to the latest status of the web gui?
> >
> > I am now in LLNL and I don't have a root access to my computer
> > (running rhel5), and there is no Tk, nor Tkinter Python modules. I
> > have installed femhub, so I have the whole python stack, but I don't
> > have any gui. Mpl can save figures to a file, so at least something.
> > But I am missing the zoom feature.
> >
> > I found the following cool libraries:
> >
> > http://www.sencha.com/
> > http://raphaeljs.com/
> > http://g.raphaeljs.com/
> >
> > that work perfectly in my browser (FF3). So I wondered how hard it
> > would be to use them as an mpl backend? All I need, I think, is just
> > simple plotting, and zoom (+pan).
> >
> > I could adapt for example:
> >
> > lib/matplotlib/backends/backend_tkagg.py
> >
> > but it seems quite involved. Is there some simple thing, that would
> > "just work" for me, that I could start adapting for the web gui? I
> > would imagine that show() would launch a web server and tell the user
> > to go to localhost:8080 or something and then the gui would be in the
> > browser. The browser can even be opened automatically.
> >
> > Ondrej
> >
> >
> --
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit.  See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> > ___
> > Matplotlib-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
>
>
>
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] web gui

2010-06-16 Thread william ratcliff
www.reflectometry.org/flot/examples has some examples with zooming for flot.
  These seem ok for speed using firefox...How many data points?

William

On Wed, Jun 16, 2010 at 9:07 PM, Ondrej Certik  wrote:

> On Wed, Jun 16, 2010 at 6:01 PM, Ondrej Certik  wrote:
> > On Wed, Jun 16, 2010 at 5:13 PM, william ratcliff
> >  wrote:
> >> Do you want the whole code base?
> >
> > Well, if you can send me something to start from, that'd be awesome. I
> > have put my initial code here:
> >
> > http://github.com/certik/jsplot
> >
> > it uses django + raphael. Now I need to write a simple MPL like api,
> > and also implement zoom somehow.
> > I think I'll make it work for my purposes soon hopefully.
>
> These guys already implemented zoom in the flotr library:
>
>
> http://phenxdesign.net/projects/flotr/examples/prototype/mouse-zoom-preview.html
>
> So maybe I'll just use that. In FF3 it's terribly slow though...
>
> Ondrej
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] web gui

2010-06-17 Thread william ratcliff
I'll take a look--but how do you handle interaction?  Does it end up having
to communicate back to the server?

On Thu, Jun 17, 2010 at 2:09 AM, John Hunter  wrote:

> On Wed, Jun 16, 2010 at 6:33 PM, william ratcliff
>  wrote:
> > I have a student here trying to make a webapp for data reduction.  To add
> > interactivity, we've been using the FLOT package, and may later consider
> > protovis.  We had thought about making a javascript backend for MPL, but
> to
> > just get something running, we went with FLOT for the time being...We're
> > using EXTJS as the web framework (it's a bit heavy, but has a rich widget
> > toolkit and documentation).  We use Django on the backend and Orbited to
> > deal with some communications between the browser and the server (for
> > example if we get new data from an instrument and want to update it on
> the
> > server and update plots that are viewing that data..).  Over the next
> couple
> > of weeks (with the arrival of another student), we will be working more
> with
> > the plotting aspect of the project (adding legends, zooming, etc).
> Also,
> > for other parts of the app, we're just using the HTML5 canvas...I'd be
> happy
> > to work on making the plotting addons as generic as possible so they can
> be
> > used outside of our problem domain.  What I'm not sure is whether one
> wants
> > to truly use MPL as a backend, or rather to use the MPL philosophy of a
> > javascript package.
>
>
> If anyone is interested in working on an html5 backend, we have a
> prototype here thanks to a GSOC applicant from last year
>
> http://bitbucket.org/sanxiyn/matplotlib-canvas/
>
> JDH
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] web gui

2010-06-17 Thread william ratcliff
How do you deal with interactivity?

On Thu, Jun 17, 2010 at 9:57 AM, Ludwig Schwardt
wrote:

> Hi,
>
> Simon Ratcliffe (the other Ratcliff :-)) and myself are working on an
> MPL backend that uses the HTML5 Canvas element. It is nearly done and
> soon to be released, once we get permission from our employer to
> release it under an open-source license. It does zooming and pretty
> good animation as well. It also has no additional dependencies except
> for Matplotlib and currently runs on the latest HTML5-compliant
> browsers (Chrome 4+, Safari 5, IE9 when released, Firefox nightlies).
>
> Some idea of its functionality can be seen at
> http://genotrak.webfactional.com/mplh5canvas/.
>
> We will keep the list updated on its progress.
>
> Regards,
> Ludwig Schwardt
>
>
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] web gui

2010-06-18 Thread william ratcliff
I would be interested in seeing the screencast.  For the websocket, are you
using "Comet" (which is what we use for our live data through the used of
orbited and STOMP, so I could see being able to do interactivity, but
thought it would be too slow for interactivity, which is why we went with
FLOT and were planning to start adding functionality--legends, etc.), or the
new proposed html5 websocket?

William

On Fri, Jun 18, 2010 at 3:01 AM, Ludwig Schwardt
wrote:

> Hi,
>
> On Thu, Jun 17, 2010 at 8:07 PM, william ratcliff
>  wrote:
> > How do you deal with interactivity?
>
> When you create a figure, a WebSocket server is spawned on its own
> socket, with its own thread. The client (browser) then interacts with
> these threads. Zooming, panning and resizing are all done on the
> server side, under request from the client. This allows you the full
> functionality of matplotlib, as this corresponds to how other
> interactive backends work. The interactivity is better than expected -
> with local connections we achieve 40 frames per second while animating
> a 2000-point plot, for example.
>
> We also provide a management port, which serves as the portal for the
> available figures. At the start of your session, you connect the
> browser to this management port. Thereafter, new figures pop up as new
> thumbnails on this page, and can be selected for viewing. This port
> also provides the static HTML/JS framework for the plots.
>
> This interactivity is what makes it a true replacement for the other
> interactive backends. If people are interested, we can put together a
> screencast of the functionality.
>
> Ludwig
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] web gui

2010-06-18 Thread william ratcliff
Great!

On Fri, Jun 18, 2010 at 5:43 AM, Ludwig Schwardt
wrote:

> Hi,
>
> On Thu, Jun 17, 2010 at 6:30 PM, Ondrej Certik  wrote:
> > That would be exactly what I need. Do you have any time frame for the
> > release? The problem is that I need it right now. So I'll try to
> > finish my own stuff today, so that I can at least work and then later
> > improve it or switch to your stuff.
>
> We have the go-ahead to release the HTML5 Canvas backend and will get
> it out by Monday. Testers will be welcome!
>
> Ludwig
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] HTML5 Matplotlib Backend

2010-06-21 Thread william ratcliff
I just tested it and it's very cool!  It works fairly quickly locally.  It
seems to work for Safari 5 and Chrome beta.  Firefox 3.6.3 is a no show.  I
haven't tried Opera.   What I'm really curious about is what is the latency
like over the actual internet, or under higher server loads (given the round
tripping).  For us, I'd have to try to get it to work for firefox (I think
as a cross platform browser, it's fairly common, especially on linux systems
like Fedora, it's what the user is most likely to have.).  Thanks for
sharing this!


William

On Mon, Jun 21, 2010 at 9:19 AM, Simon Ratcliffe wrote:

> Hello,
>
> Our HTML5 based matplotlib backend is now available at:
>
> http://code.google.com/p/mplh5canvas/
>
> There are some basic installation instructions and included examples
> to get going. Keep in mind that the weakest link at this stage is
> browser support.
>
> We recommend Chrome for the most hassle free experience.
>
> This is very much a beta release and has not seen action outside of
> our internal testing, so we expect some teething troubles :)
>
> Please let us know what works for you, and what doesn't, and we will
> try and fix things as they come up.
>
> Cheers,
>
> Simon and Ludwig
>
>
> --
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Experimental, traited config module available in svn

2007-08-17 Thread william ratcliff
 A simple question--if you add traits into matplotlib, will people still
 be able to build executables?  I remember reports of py2exe having
 problems with traits.

 Cheers,
 William

On 8/17/07, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>
> Thanks for fixing that.  I haven't been running with the new traits config
> stuff, so I didn't catch that my new parameters weren't ported over.
>
> Cheers,
> Mike
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] svg fonts and mathtext

2007-09-07 Thread william ratcliff
Maybe I'm doing something wrong, but is there support for \AA  {the
angstrom} symbol within mathtext for any of the backends?  If not, would it
be difficult to add?

Thanks,
William

On 9/7/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
>
> On Fri, Sep 07, 2007 at 03:09:10PM -0400, Michael Droettboom wrote:
> > Paul Kienzle wrote:
> > > On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote:
> > >> Paul Kienzle wrote:
> > > Note: Adobe SVGViewer doesn't see the embedded fonts, but it works if
> I
> > > have the fonts installed.  Oh, well!
> >
> > With the embedded fonts, you mean the text just doesn't show up at all?
>
> It looks the same as the version without embedded fonts, which is that it
> chooses some incorrect default font with the wrong character codes as I
> showed earlier.
>
> I thought unicode was supposed to give unique codes to the characters
> so that even if the font was wrong, at least you would get the correct
> glyph from the font.  Or does this only happen at a higher level?
>
> >   Do you know if the SVG output from Cairo works with Adobe?  They use a
> > similar (but not identical) approach to embedding the character
> outlines.
>
> I'm not set up to run Cairo, but I can check if someone sends me an svg.
>
> - Paul
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] svg fonts and mathtext

2007-09-07 Thread william ratcliff
\angstrom also does not work.

Thanks,
William

On 9/7/07, william ratcliff <[EMAIL PROTECTED]> wrote:
>
> Maybe I'm doing something wrong, but is there support for \AA  {the
> angstrom} symbol within mathtext for any of the backends?  If not, would it
> be difficult to add?
>
> Thanks,
> William
>
> On 9/7/07, Paul Kienzle <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, Sep 07, 2007 at 03:09:10PM -0400, Michael Droettboom wrote:
> > > Paul Kienzle wrote:
> > > > On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote:
> > > >> Paul Kienzle wrote:
> > > > Note: Adobe SVGViewer doesn't see the embedded fonts, but it works
> > if I
> > > > have the fonts installed.  Oh, well!
> > >
> > > With the embedded fonts, you mean the text just doesn't show up at
> > all?
> >
> > It looks the same as the version without embedded fonts, which is that
> > it
> > chooses some incorrect default font with the wrong character codes as I
> > showed earlier.
> >
> > I thought unicode was supposed to give unique codes to the characters
> > so that even if the font was wrong, at least you would get the correct
> > glyph from the font.  Or does this only happen at a higher level?
> >
> > >   Do you know if the SVG output from Cairo works with Adobe?  They use
> > a
> > > similar (but not identical) approach to embedding the character
> > outlines.
> >
> > I'm not set up to run Cairo, but I can check if someone sends me an svg.
> >
> > - Paul
> >
> >
> > -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>   http://get.splunk.com/
> > ___
> > Matplotlib-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
>
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] svg fonts and mathtext

2007-09-07 Thread william ratcliff
It may be a hassle, but perhaps you could allow
\AA and \angstrom to both represent angstrom.

Thanks!!!

William

On 9/7/07, Michael Droettboom <[EMAIL PROTECTED]> wrote:
>
> Sorry -- that used to work, but fell through the cracks in the recent
> mathtext rewrite.  It shouldn't be difficult to add back in.  I'll let
> you know when that's done.
>
> Cheers,
> Mike
>
> william ratcliff wrote:
> > Maybe I'm doing something wrong, but is there support for \AA  {the
> > angstrom} symbol within mathtext for any of the backends?  If not, would
> > it be difficult to add?
> >
> > Thanks,
> > William
> >
> > On 9/7/07, *Paul Kienzle* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> > wrote:
> >
> > On Fri, Sep 07, 2007 at 03:09:10PM -0400, Michael Droettboom wrote:
> >  > Paul Kienzle wrote:
> >  > > On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom
> wrote:
> >  > >> Paul Kienzle wrote:
> >  > > Note: Adobe SVGViewer doesn't see the embedded fonts, but it
> > works if I
> >  > > have the fonts installed.  Oh, well!
> >  >
> >  > With the embedded fonts, you mean the text just doesn't show up
> > at all?
> >
> > It looks the same as the version without embedded fonts, which is
> > that it
> > chooses some incorrect default font with the wrong character codes
> as I
> > showed earlier.
> >
> > I thought unicode was supposed to give unique codes to the
> characters
> > so that even if the font was wrong, at least you would get the
> correct
> > glyph from the font.  Or does this only happen at a higher level?
> >
> >  >   Do you know if the SVG output from Cairo works with
> > Adobe?  They use a
> >  > similar (but not identical) approach to embedding the character
> > outlines.
> >
> > I'm not set up to run Cairo, but I can check if someone sends me an
> svg.
> >
> > - Paul
> >
> >
> -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a
> browser.
> > Download your FREE copy of Splunk now >>   http://get.splunk.com/
> > ___
> > Matplotlib-devel mailing list
> > [email protected]
> > <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
> >
>
> --
> Michael Droettboom
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] pdf output

2007-09-11 Thread william ratcliff
Has anyone worked with postscript files on windows?  I don't know if this is
related, but when I do a savefig('foo.ps',dpi=150) on plot generated by
pcolormesh, I find that ghostview gives the error:

"
DSC Error at line 518:
%%Page: 1 1
This %%Page: line occured in the trailer, which is not legal.
EPS files should be encapsulated in %%BeginDocument/%%EndDocument
It is possible that an EPS file was incorrectly encapsulated
and that we have been confused by the %%Trailer in an EPS file."

This was running with the latest version from SVN.  I looked in the file and
could not find a BeginDocument error.

Thanks,
William

On 9/11/07, Jouni K. Seppänen <[EMAIL PROTECTED]> wrote:
>
> Paul Kienzle <[EMAIL PROTECTED]> writes:
>
> > I'm not sure yet how to fix the problem, but in the sample I sent
> > earlier if I change:
> >
> >  5 0 obj
> >  << /Length 11 0 R >>
> >  endobj
> >
> > to
> >
> >  5 0 obj
> >  << /Length 1239   >>
> >  endobj
> >
> > then both gv and acroread can process the file without error.
>
> Putting the length of a stream in an indirect object is allowed by the
> PDF spec, and specifically mentioned as an example of how you can write
> a pdf file in one pass. Does the latest svn version (which has the
> bugfix by Michael) not work for you?
>
> --
> Jouni K. Seppänen
> http://www.iki.fi/jks
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] internal enthought.traits package: a progress report

2007-11-07 Thread william ratcliff
And again, if MPL becomes "traitified", how will that effect users
that need to roll executables for distribution?


On Nov 7, 2007 9:39 AM, Gael Varoquaux <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 07, 2007 at 08:25:51AM -0600, John Hunter wrote:
> > I am not wild on the idea of an "internal dependency".  Since this is
> > the first step in providing traitified mpl properties, and users will
> > presumably want to be able to set event handlers on these properties,
> > etc, it seems best to me if the users are exposed to a proper
> > installation of enthought traits.
>
> I agree with that. This would clearly be a temporary solution waiting for
> better packaging of traits.
>
> > Is there a reason not to treat traits like we do dateutil and pytz:
> > check at runtime if it is installed and if not install it as
> > enthought.traits using Gael's tarball?
>
> This does not seem a terribly good solution. First of all, I assume you
> mean install time rather than run-time, as I can't see this happening at
> run-time for a question of permission. Package management is not such an
> easy task, as the endeavour of setup_tools has shown. Of course the
> solution for platforms with proper package managers, is to use this
> package manager, but when there isn't one, try to provide one, even a
> simple one, is a risky endeavour. If you are going to try to do this, I
> would try to do it through setuptools, maybe by including the relevant
> code from setuptools in MPL.
>
> Then there is the problem of compiling. Traits has a bit of compiled
> code, and not everybody has a compiler installed. So you have to provide
> binary packages for the major platforms. This also points towards eggs,
> as eggs are binary packages (eggs are nothing more than a zipped python
> package), and we are already building binary eggs for traits and Co.
>
> > This gets enthought.traits (preferably with traits.ui included) on
> > more platforms.
>
> Yes, the big and important work is to get traits and traitsUI packaged
> natively on more platforms. Ondrej Certik has started debian packages,
> but he does not have much time to work on them, and they are progressing
> slowly. Some people have offered packaging for Fedora, but the problem is
> the same. If you know people who are willing to do some packaging work,
> we need some help :->.
>
> > We are simply trying to keep the barrier of installation as low as
> > possible for the typical mpl user.
>
> This is very important, indeed.
>
> Can you tell us a bit more what you plan to use traits for exactly (what
> are the usecases) ? It might help me understand how to find a beautiful
> solution to this chicken and eggs problem.
>
> Gaël
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] speed

2007-11-09 Thread william ratcliff
Michael,

Have you looked at the speed of zooming in and out with pcolormesh?

On Nov 9, 2007 3:33 PM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> Darren Dale wrote:
> > On Friday 09 November 2007 03:26:12 pm Michael Droettboom wrote:
> >> Eric Firing wrote:
> >>> Mike,
> >>>
> >>> Thank you for once again blasting out such an array of improvements.
> >>> Regarding implementation and API details, such as what should go in
> >>> imshow versus pcolor versus something with another name, I would like to
> >>> review the situation (and your branch) and come up with a
> >>> recommendation, but I can't do it immediately.  I can have something
> >>> waiting for you on Monday morning, however.
> >> Hey, no rush.  I understand not everyone has the luxury of hacking on
> >> matplotlib full time.
> >
> > Do you get to hack mpl full-time? I'm jealous.
>
> For the time being.  And, yeah, I consider myself pretty fortunate.  But
> I'm sure those days are numbered -- there's a lot of other interesting
> stuff needing to get done here... ;)
>
> Cheers,
> Mike
>
> --
> Michael Droettboom
> Science Software Branch
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
>
> -
>
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] versions of freetype, libpng, zlib, etc?

2007-12-10 Thread william ratcliff
I am again trying to build matplotlib from source on svn--What versions of
freetype, libpng, zlib, etc. are used for the current build (I'm using
mingw)?
Also, can someone update the win32_static folder to reflect the current
versions?  Thanks



William
-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel