Ryan May-3 wrote:
>
>
> You can accomplish it by:
>
> ax.texts.remove(arrow)
>
> I'd still like to know why this exception gets raised:
>
>
> NotImplementedError Traceback (most recent call
> last)
>
> /home/rmay/ in ()
>
> /home/rmay/.local/lib/python2.6/site-packa
Hi,
I'm trying to remove or delete an annotate arrow but I'm unsuccessful. Can
some please help? Thanks.
I tried the [artist].remove() but that will not work with arrows or annotate
objects...
Here is some example code, please add in the code I need if you can:
import numpy as np
import matplo
Peter Buschman-2 wrote:
>
>
> I ended up finding a solution to this by using a FixedLocator and
> manually setting each of the tick
> positions for both major and minor grids without overlap.
>
> I'm not sure if this is the recommended way to do this, but hey, it worked
> ;-)
>
> for t
Hi, I'm trying to add some navigation tools to my mpl embedded in a wx app.
I noticed the default navigation tools here:
http://matplotlib.sourceforge.net/users/navigation_toolbar.html?highlight=matplotlib%20widgets
http://matplotlib.sourceforge.net/users/navigation_toolbar.html?highlight=matplot
I just tried this method and it does work if you are using integers or whole
numbers. However, I am working with time on my x axis. So when I zoom too
close, floating point numbers are required... Is there any way to just turn
off the exponent number in the right corner and force the x tick labels
I figured it out on my own! Why I couldn't figure it out before... I don't
know...
Here is the code:
myhighlights[1].set_facecolor('y')
myhighlights[1].set_xy([[ 3.5 , 0. ],\
[ 3.5 , 1. ],
[ 3.75, 1. ],
[ 3.75, 0. ],
[ 3.5 , 0. ]])
KrishnaPribadi
Hi,
I added several axvspan "highlights on my plot.
I'd like to change the properties of only one of those "highlights" such as
the facecolor, xmin, and xmax. I've included some code below. Lets say I'd
like to change the properties on the 2nd vertical highlight (axvspan).
Can someone please sug
Here my screen shot. Notice the red and green line merging then turning
brown...
--
View this message in context:
http://old.nabble.com/2-lines%2C-2-diff-colors%2C-when-converged%2C-gets-3rd-color...-tp28182679p28190837.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
I'm plotting 2 lines with 2 colors. The lines are binary so they are somewhat
square. When the lines converge on a same value for a period, their colors
combine and turn into a 3rd color
Is there a way to force the plotting to not "blend" the 2 colors together? I
just want the 2nd line to la
Thanks Tony. That helps clean up the code.
Now that I think about it more, I actaually had 2 questions.
The first you answered well.
The second question relates to my problem when using this method in that it
produces line colors where some colors are too similar. In other words,
there isn't eno
Hi,
I'm trying to plot a set of lines, 12 to be exact, and the default color
cycle only supports 8 or 9 distinct colors. That said, I looked up the color
maps and segmented it using 12 constant intervals with the hope of getting
12 distinct colors.
The problem I'm running in to is that some of t
I figured it out, found answer on this site:
http://old.nabble.com/Automatically-changing-line-colors-td893139.html#a949316
--
View this message in context:
http://old.nabble.com/get-set-current-index-of-color-cycle%2C-how-to-tp27864297p27865867.html
Sent from the matplotlib - users mailing lis
get current line cycle (color cycle), how to
Does anyone know how to get and set the index in the line color cycle for a
particular line? I’m plotting a collection of lines on 2 axes using the
default line colors. After I finish plotting on the 1st axis, I then want to
plot on the 2nd axis and re
13 matches
Mail list logo