[Matplotlib-users] bug with empty values & dates

2012-11-21 Thread Jeffrey Melloy
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 = [] st = datetime.datetime(2012,11,21) while st < datetim

[Matplotlib-users] svg/image output

2012-11-21 Thread Jeffrey Melloy
I'm currently using matplotlib to generate .PNG files, and the javascript library flot to do point hover & zooming on the same data (after click through). Flot is starting to show its age, and I'd like a little more control. I'd like to get to only one library generating graphs, so I only have to

Re: [Matplotlib-users] example of pareto chart

2012-09-25 Thread Jeffrey Melloy
I think pareto charts are supposed to be percentages, not totals. data = [83, 38, 7, 5, 5, 4, 4, 2, 1] labels = ["Vertical", "Horizontal", "Upper", "Lower", "Left", "Right", "Behind", "Front", "Down"] colors = ["#001499", "#ff7f00", "#9440ed", "#edc240", "#238c3f", "#a60085", "#00cca3", "#464f8c",

Re: [Matplotlib-users] Facecolor not changing for web service?

2012-02-20 Thread Jeffrey Melloy
It works perfectly. I thought I had tried that. :/ On Mon, Feb 20, 2012 at 4:18 PM, Eric Firing wrote: > On 02/20/2012 01:36 PM, Jeffrey Melloy wrote: >> I'm using Flask to output graphs to a web service, and when I move >> from a standalone script to the web servi