Re: [Matplotlib-users] Change hatch intensity/color for PDF backend

2011-04-25 Thread Michael Droettboom
Currently it's hardcoded. You can see it in this line in backend_pdf.py: https://github.com/matplotlib/matplotlib/blob/9ca2c4118f684b4e145bd109008f77731d2d7cd4/lib/matplotlib/backends/backend_pdf.py#L1061 You could change that line. However, long term, I think we need to add a hatch_line_width

Re: [Matplotlib-users] Change a few pixels color

2011-04-25 Thread Xavier Gnata
On 04/23/2011 03:19 AM, Paul Ivanov wrote: > Hi Xavier, > > Xavier Gnata, on 2011-04-23 02:33, wrote: >> Imagine you have this code: >> >> import numpy as np >> import matplotlib.cm as cm >> import matplotlib.mlab as mlab >> import matplotlib.pyplot as plt >> >> delta = 0.25 >> x =

Re: [Matplotlib-users] Change hatch intensity/color for PDF backend

2011-04-25 Thread T J
On Mon, Apr 25, 2011 at 1:15 PM, T J wrote: > I am using the PDF backend and specifying a hatch for a fill_between() > call.  The resultant PDF looks okay, but the hatch lines are too > light. > > Is there a way to darken them?  Also, is it possible to change the > color of the hatch lines? I'm ok

[Matplotlib-users] Change hatch intensity/color for PDF backend

2011-04-25 Thread T J
I am using the PDF backend and specifying a hatch for a fill_between() call. The resultant PDF looks okay, but the hatch lines are too light. Is there a way to darken them? Also, is it possible to change the color of the hatch lines? I'm okay solutions that are low-level hacks. I just need the

[Matplotlib-users] updating embedded plots using Tkinter

2011-04-25 Thread Michael Schmidt
Hi Everyone, I'm running into a problem with updating a plot that I've embedded into a Tk application. I'm attaching the code with this email (so hopefully that will show up at the end of the email). This is a very simple program, with one canvas embedded into a window, with one menu and one but