[Matplotlib-users] "Dynamical" style sheets

2015-03-03 Thread Christophe Bal
Hello. Is it possible to define a stryle sheet in a string variable and then load it ? *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a "Lycée" **and **Python **amateur

[Matplotlib-users] xkcd

2014-10-03 Thread Christophe Bal
Hello. I've only seen one way to use the xkcd feature. This uses a with statement. Is there another way to use the xkcd feature so as to easily switch between exact plot and trembling one ? Christophe BAL -- Mee

Re: [Matplotlib-users] Button and Mouse event

2014-09-29 Thread Christophe Bal
o the Button? > > Ben Root > > P.S. - please keep the coverstation on-list. > > > On Sun, Sep 28, 2014 at 5:36 PM, Christophe Bal > wrote: > >> Hello. >> >> I want to use both mouse event, that works without the button, and also a >> button but adding this

[Matplotlib-users] Button and Mouse event

2014-09-27 Thread Christophe Bal
Hello. In the following code, I would like to add two buttons. Is there an easy way to do that ? Christophe import matplotlib.pyplot as plt from matplotlib.widgets import Button fig = plt.figure() plt.axes(xlim = (0, 3), ylim = (0, 3)) def onclick(event):

[Matplotlib-users] Anaconda Mac or matplolib bug ?

2014-09-16 Thread Christophe Bal
Hello. I do not know the guilty people in this story. The following code works with Anaconda Python 3 on Lubuntu 14 but it does not with Anaconda Python 3 Mac OS Maverick. Why ? This message has been posted on both the list of Anaconda and the one of matplotlib. Christophe === Code === # Sourc

[Matplotlib-users] OOP questions

2014-03-20 Thread Christophe Bal
regards. Christophe BAL -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the fi

Re: [Matplotlib-users] Mac O$, Anaconda and movie

2014-03-19 Thread Christophe Bal
Hello, I've found how to do that. 1. Donwload the binary ffmpeg from here <http://ffmpegmac.net/>. 2. Copy this binary file into the folder anaconda/bin. That's all ! 2014-03-19 10:40 GMT+01:00 Christophe Bal : > Hello. > > In this page<http://matplotlib.

[Matplotlib-users] Mac O$, Anaconda and movie

2014-03-19 Thread Christophe Bal
__getitem__return self.avail[name]* *KeyError: 'ffmpeg'* Is there a way to use such kind of functionnality with Anaconda ? If not, is there a way to produce at least a folder containing each frame picture ? Christophe BAL -

Re: [Matplotlib-users] Update some part of a figure

2014-03-18 Thread Christophe Bal
animations work, you just have to use the following two lines before any other matplotlib imports. import matplotlib matplotlib.use('TkAgg') I think this will work for any Mac OS supported by Anaconda. The use of XQuark is only needed for Maverick. 2014-03-12 12:17 GMT+01:00 Christoph

[Matplotlib-users] PySide backend

2014-03-17 Thread Christophe Bal
Hello, does matplotlib can use a PySide backend ? I ask this question because PySide is installed with Anaconda. Christophe BAL -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is

[Matplotlib-users] Example showing differences between Mac O$ and Windows use

2014-03-13 Thread Christophe Bal
Hello, I'm a little disappointed by the following test program coming from this post <http://stackoverflow.com/a/22380683/1054158>. What are the technical reasons that make fail the following code under Mac O$ ? Best regards. Christophe BAL TEST --- from random imp

[Matplotlib-users] Animate on Mac O$

2014-03-13 Thread Christophe Bal
Hello, is there any hope that the problems with animate will be fixed for Mac users ? Christophe BAL -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to

Re: [Matplotlib-users] Update some part of a figure

2014-03-12 Thread Christophe Bal
I forgot to say that being under Mac O$, I can use with animate... So I do not know if i can build an infinite animation. Is it possible ? 2014-03-12 12:01 GMT+01:00 Christophe Bal : > Yes I've read it. > > >1. It proposes to update infos about the figure, this is wha

[Matplotlib-users] Update some part of a figure

2014-03-12 Thread Christophe Bal
ce, I redraw all the squares. I know that it is stupid for large number of squares. Is there a way to change some propriety of one square, and then to ask to matplotlib to redraw only what have changed ? I'm looking for something similar to `blint` for animations. Christophe BAL #!/usr/bin/e

[Matplotlib-users] SVG version of the data graph of the logo

2014-03-11 Thread Christophe Bal
Hello, it could be very useful for websites, and not only mine, to have a SVC of both the logo and only the data graph used in the logo. Is there at least a SVG downloadable version of the logo ? Best regards. Christophe BAL

[Matplotlib-users] Evolution of the interface

2013-03-15 Thread Christophe BAL
fig = pylab.figure()* *ax = fig.add_subplot(1,1,1)* * * *ax(xlabel = *"xLabel"*, ylabel = *"yLabel"*)* * * I don't know enough matplotlib to propose other examples but I really think that there is a lot of things that could make matplotlib much