What are those arrows for if not for cycling through figures? Is this
really the only way to accomplish what the OP wants here? By writing
an event handler?
http://stackoverflow.com/questions/11088336/matplotlib-step-by-step-animation
Hi,
Trying to figure out why these two do not create the same plot. Bug or user
error?
import matplotlib.pyplot as plt
from matplotlib.patches import FancyArrowPatch
from matplotlib.collections import PatchCollection
def correct_patch(pos):
fig, ax = plt.subplots()
for src, dst in pos:
Say I have a marker with a known size in points and I want to draw an arrow
to this point. How can I get the ends points for the arrow? As you can see
in the below, it overlaps the markers. I want to go to the edge. I can use
shrinkA and shrinkB to do what I want, but I don't see how they're
This has been asked before, and I just filed a ticket [1]. Can anyone think
of a better way to do something like this? The fill_between below is pretty
suboptimal IMO.
import matplotlib.pyplot as plt
import numpy as np
t_sec = np.arange(6)
velocity = np.array([24., 33., 40., 45., 48., 49.])
Hi All,
Hoping someone can help me get a definitive answer to this question.
Is draw_if_interactive bad to have in library plotting code?
Based on this thread [1], we've been working under the assumption that
calling draw_if_interactive in plotting code is bad. Though I'm
skeptical that this is
Is there a way to overwrite suptitle? When using 3rd party libs that
return a figure, if they set suptitle and don't give you the text
object back then you can't overwrite it? This doesn't seem right to
me.
http://stackoverflow.com/questions/10559144/matplotlib-suptitle-prints-over-old-title
On Sun, Sep 16, 2012 at 2:54 PM, Benjamin Root ben.r...@ou.edu wrote:
On Sun, Sep 16, 2012 at 2:09 PM, Skipper Seabold jsseab...@gmail.com
wrote:
Is there a way to overwrite suptitle? When using 3rd party libs that
return a figure, if they set suptitle and don't give you the text
object
Hi,
I wrote an abline_plot function, and I'm curious if what I'm doing is the
best way to go about this. I tried unsuccessfully to get the transforms to
do what I want, but I'm not sure if it's possible. What I came up with is
to use callbacks to draw an infinite line. It works, but it seems a
On Sun, Apr 1, 2012 at 4:23 PM, Skipper Seabold jsseab...@gmail.com wrote:
Hi,
I wrote an abline_plot function, and I'm curious if what I'm doing is the
best way to go about this. I tried unsuccessfully to get the transforms to
do what I want, but I'm not sure if it's possible. What I came
There is probably a simple answer to this, but I don't see it. How can
I pad the axis limits automatically? For instance, in the below
example, the x axis limits are the data points and the y limit is
close. I want to have a function that pads the axis limit at least, by
say, 10% of the range of x
On Fri, Mar 30, 2012 at 5:45 PM, Tony Yu tsy...@gmail.com wrote:
On Fri, Mar 30, 2012 at 4:40 PM, Eric Firing efir...@hawaii.edu wrote:
On 03/30/2012 08:47 AM, Skipper Seabold wrote:
There is probably a simple answer to this, but I don't see it. How can
I pad the axis limits automatically
On Wed, Feb 29, 2012 at 2:02 PM, josef.p...@gmail.com wrote:
snip
I'm not able to build matplotlib myself.
If you're interested, I've been able to build on windows since
Christophe provides the dependencies by doing the following
Is this information incorrect?
http://matplotlib.sourceforge.net/devel/documenting_mpl.html#module-matplotlib.sphinxext.plot_directive
This line seems to preclude ever getting to the below code to process
the caption.
Hi,
I'm trying to draw a box around an axes title, and I'm having trouble
controlling it. I want the box to span the width of the x axis. I
tried some iterations on the below since xy and height/width are
hard-coded in set_title, but when I call show, it seems the width of
the box is reset. Any
Hi,
Two related questions. Consider this plot
-
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.plot([1,0,0,1],[0,1,0,0],[0,0,1,0])
ax.set_xlim3d(0,1)
ax.set_ylim3d(0,1)
#ax.set_ylim3d(1,0)
On Tue, Nov 8, 2011 at 6:13 PM, Benjamin Root ben.r...@ou.edu wrote:
On Tue, Nov 8, 2011 at 4:55 PM, Skipper Seabold jsseab...@gmail.com wrote:
Hi,
Two related questions. Consider this plot
-
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure
16 matches
Mail list logo