I want to create a matplotlib figure as part of a program I am writing
and therefore would like to create the figure in a fully object oriented
way, ie not in the pyplot state-full way. I understand how to work with
a figure object to create axes objects and then fill the axes objects
with
Ok, I understand about agg, but I am still a bit confused. First when I
run the suggested code using whatever the default backend is the figure
is only displayed for a second and then it goes away and the program
ends. I guess what I am really interested in is what plt.figure()
does. It
2013/1/16 Kelson Zawack k...@cornell.edu:
I want to create a matplotlib figure as part of a program I am writing
and therefore would like to create the figure in a fully object oriented
way, ie not in the pyplot state-full way. I understand how to work with
a figure object to create axes
On 1/16/2013 4:39 AM, Kelson Zawack wrote:
I want to create a matplotlib figure as part of a program I am writing
and therefore would like to create the figure in a fully object oriented
way, ie not in the pyplot state-full way.
Perhaps you will find it useful to look at the TSPlot class at
Dear Mike Paul,
Thanks for your replies. I tried Mike's protocol, and I found that
font_manager found the Arial font (C:\\Windows\\fonts\\Arial.ttf) in the
right place. I don't have fontforge yet, so I guess I need to install and
check it out.
But the thing that bothers me about this
On Wed, Jan 16, 2013 at 5:50 AM, Kelson Zawack k...@cornell.edu wrote:
Ok, I understand about agg, but I am still a bit confused. First when I
run the suggested code using whatever the default backend is the figure is
only displayed for a second and then it goes away and the program ends. I
Hello,
I use matplotlib.pyplot.text() to annotate my plots.
When annotating reference lines on simple x,y plots I find it quite
annoying to have to manually compute an offset in data coordinates to
have some spacing between the line I'm labeling and the label itself.
With the bbox={'pad':
On Wed, Jan 16, 2013 at 7:07 AM, Daniele Nicolodi dani...@grinta.netwrote:
Hello,
I use matplotlib.pyplot.text() to annotate my plots.
When annotating reference lines on simple x,y plots I find it quite
annoying to have to manually compute an offset in data coordinates to
have some spacing
I am running 1.2.0
On 1/16/13 10:23 AM, Benjamin Root wrote:
On Wed, Jan 16, 2013 at 5:50 AM, Kelson Zawack k...@cornell.edu
mailto:k...@cornell.edu wrote:
Ok, I understand about agg, but I am still a bit confused. First
when I run the suggested code using whatever the default