Re: [Matplotlib-users] bug with empty values dates

2012-11-22 Thread Goyo
2012/11/22 Jeffrey Melloy jmel...@gmail.com: I'm graphing data from a web service, and seem to have stumbled upon a bug when dates are graphed without any values. Here's a minimum repro: import datetime import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) x = []

Re: [Matplotlib-users] Is there a way to create a plot and call show() so as not to use the main Qt loop?

2012-11-22 Thread Goyo
2012/11/4 Brickle Macho bricklema...@gmail.com: [...] When I show() a plot form within a Qt application I get the following message printed on the console: QCoreApplication::exec: The event loop is already running I think I understand the error, obviously the application I calling form

Re: [Matplotlib-users] N parameter of LinearSegmentedColormap

2012-11-22 Thread TP
On Monday, November 19, 2012 13:53:21 Eric Firing wrote: It is not entirely clear to me what you are trying to do, but it sounds like increasing N is not the right way to do it. Three things might help you find a better way: 1) The colormap is intended to work with a norm that handles the