[Matplotlib-users] dash length for dashed contours

2013-01-23 Thread Andrew Dawson
Hi all, [TL;DR: is it possible to control the length of the dashes in dashed contours, if so how?] I'd like to be able to control the length of dashes for dashed contours. My motivation is that I'm making a contour plot that uses dashes for the negative contours, and the plot needs to be a

[Matplotlib-users] append to or concatenate PathCollection objects?

2013-01-23 Thread Jonathan Slavin
Hi, I'm wondering if there is some straightforward way to combine two PathCollection objects to create a new PathCollection object. My goal is to include two points that use different axes (one twin'ed to the other) into a single legend item (different point types, same label). Each call to

Re: [Matplotlib-users] getting the dimensions of an axes

2013-01-23 Thread Paul Hobson
On Mon, Jan 21, 2013 at 4:28 AM, Kelson Zawack k...@cornell.edu wrote: a heat map and want to label each row. I thus need the font size of the text to scale with the number of rows in the heat map. Is Assuming you start out with this: import matplotlib.pyplot as plt fig, ax1 =

Re: [Matplotlib-users] append to or concatenate PathCollection objects?

2013-01-23 Thread Jonathan Slavin
Sterling, I have version 1.2.0. I read the legend guide. Which thing should be possible? If you mean giving the points as a tuple, here's some simple test code: import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = fig.add_subplot(1,1,1) p1 =

Re: [Matplotlib-users] BUG: RuntimeError: dictionary changed size during iteration

2013-01-23 Thread Michael Droettboom
Does this pull request: https://github.com/matplotlib/matplotlib/pull/1697 fix your issue? I have no way of knowing without a test case... Mike On 01/22/2013 08:33 AM, Massimiliano Costacurta wrote: Hello everyone, in my program I'm encountering an error when calling the function