[matplotlib-devel] Gaps between bars with pyplot.bar

2010-11-09 Thread Jeff Klukas
)) plt.legend( (p1[0], p2[0]), ('Men', 'Women') ) plt.show() --- Any thoughts on why there's always a tiny gap between bars? Thanks, Jeff || Jeff Klukas || Physics Lecturer, University of Wisconsin -- Whitewater || Research Assistant, University of Wisconsin

[matplotlib-devel] Bug in 'weights' in axes.hist

2010-07-20 Thread Jeff Klukas
the expected behavior. It can be tested with: plt.hist([1,2,3], weights=[1,2,3]) The above fails in the development version, but works with the diff. Could someone add this fix? Thanks, Jeff || Jeff Klukas, Research Assistant, Physics || University of Wisconsin -- Madison || jeff.klu...@gmail

[matplotlib-devel] Minor fix to histogram weights (patch attached)

2010-05-17 Thread Jeff Klukas
I noticed a small problem in axes.py; when setting weights with a histogram, a variable 'w' is accessed before it's assigned. It looks like this is a typo where 'w' should instead be 'weights'. The patch is copied below and attached. Cheers, Jeff || Jeff Klukas, Research Assistant, Physics

Re: [matplotlib-devel] Bug in stepfilled hist with log y

2010-05-13 Thread Jeff Klukas
I was using matplotlib 0.99.1.1. I just set up an Ubuntu system in VirtualBox so I could run the current svn trunk, and all is well. It looks like the fix has already been implemented. On Wed, May 12, 2010 at 3:06 PM, Jeff Klukas klu...@wisc.edu wrote: I've looked now through the source code

Re: [matplotlib-devel] Bug in stepfilled hist with log y

2010-05-12 Thread Jeff Klukas
. Any objections or concerns? Cheers, Jeff On Wed, May 12, 2010 at 11:13 AM, Jeff Klukas klu...@wisc.edu wrote: When creating a histogram with histtype='stepfilled' and log=True, the fill always ends up getting cut off diagonally.  It looks like it's connection one datapoint with 10^-100

Re: [matplotlib-devel] Use of Color Cycles for Hist

2010-04-01 Thread Jeff Klukas
Alright, I have attached a top-level diff that contains the changes to axes.py that allow sending multiple colors to the 'color' argument in Axes.hist. Below is a short examples that passes lists to 'colors' and 'labels'. Cheers, Jeff || Jeff Klukas, Research Assistant, Physics || University

[matplotlib-devel] Use of Color Cycles for Hist

2010-03-31 Thread Jeff Klukas
think the ambiguity would be a major issue. I would be happy to write and submit an implementation if others think this is a reasonable idea. Cheers, Jeff || Jeff Klukas, Research Assistant, Physics || University of Wisconsin -- Madison || jeff.klu...@gmail | jeffyklu...@aim | jeffklu...@skype

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-29 Thread Jeff Klukas
the ticklabels on all subaxes. Does that new interface sound like a good idea? Are there any show-stopping problems that seem apparent. If it sounds like something worth trying, I could take a stab at writing an implementation. Cheers, Jeff || Jeff Klukas, Research Assistant, Physics || University

[matplotlib-devel] Proposal for a new example of a polar 3d plot

2010-03-18 Thread Jeff Klukas
to adding this to mpl_examples/mplot3d? Thanks, Jeff || Jeff Klukas, Research Assistant, Physics || University of Wisconsin -- Madison || jeff.klu...@gmail | jeffyklu...@aim | jeffklu...@skype || http://www.hep.wisc.edu/~jklukas/ import matplotlib.pyplot as plt

Re: [matplotlib-devel] Proposal for Broken Axes

2010-03-16 Thread Jeff Klukas
What would be great is if you could refactor the basic functionality into a matplotlib.Axes.breaky method (and possibly breakx but most people request a broken y axis), which would resize the self axes and return the broken compliment which could be plotted onto.  Then you could provide a