[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 developer

[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 -- Meet PCI

Re: [Matplotlib-users] Button and Mouse event

2014-09-29 Thread Christophe Bal
. - please keep the coverstation on-list. On Sun, Sep 28, 2014 at 5:36 PM, Christophe Bal projet...@gmail.com wrote: Hello. I want to use both mouse event, that works without the button, and also a button but adding this ones makes the mouse event also working on this button. The problem would

[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 === #

[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 field, this first

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

2014-03-19 Thread Christophe Bal
[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 -- Learn Graph Databases

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 projet...@gmail.com: Hello. In this pagehttp://matplotlib.org/1.3.1/examples

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

2014-03-18 Thread Christophe Bal
, 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 Christophe Bal projet...@gmail.com: I

[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 the definitive new

[Matplotlib-users] Update some part of a figure

2014-03-12 Thread Christophe Bal
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/env python3

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 projet...@gmail.com: Yes I've read it. 1. It proposes to update infos about the figure, this is what I do

[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
()* *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 more Pythonicly easy to use. Christophe BAL