Slightly off-topic, does github allow for one to tag lines/code-blocks
with notes to the future like ``numpy1.5 removal'', similar to tags for
issues and milestones? This would save us from trawling through the
code looking for comments. If github does not have this feature, do you
think gith
Yes, you have almost got what I want. I know of both line comments in
the pull interface, and raising DeprecationWarnings. The problem with
the warnings that they only want to get used when you have an alternate
in place and want to remove old code soon. The problem here lies in not
knowing
You can comment on specific lines of code in the pull request interface,
but that's not what I think you're describing. A better practice, IMO is to
raise a DeprecationWarning when the soon-to-be-removed code is executed.
Then you can just grep for those and get cracking.
-p
On Tue, Mar 10, 2015 a
Right on no longer supporting 1.5, but this code never got updated.
This is a bit of a bigger job than I first anticipated as numpy has
deprecated the norm kwarg, so we probably should too.
On Tue, Mar 10, 2015, 07:19 OceanWolf wrote:
> Tom, ``When we drop numpy 1.5''? I thought we already had
Tom, ``When we drop numpy 1.5''? I thought we already had... I mean we
only test numpy 1.6 on Travis...
For the rebinning exercise, I don't have time to look, but I would
expect a similar trick to imshow, quiver, etcetera when I want to
compare to a baseline (e.g. for animation). Namely I cal
Sorry for the spam, but I just wanted to say that I now understand that I
should be using plt.xlim to zoom in on the x-axis rather than changing the
bins. When I zoom in with that, the bin height is indeed constant as
expected.
On Sat, Mar 7, 2015 at 8:00 PM, Tomo Lazovich wrote:
> Thanks for th
Thanks for the suggestion...I will see how numpy handles this.
Sorry for not being clearer earlier. Tom is right that by "zooming" I meant
changing the bins so that they covered a smaller range. Is there a better
way of "zooming" in on an axis so that I don't have this issue?
Thanks!
Tomo
On Sa
Paul,
Note that by zoom the op means they are changing the bins, not actual
zooming(by just changing the x axis).
I was going to say we deal with normalization by delegating to numpy, but
we actually handle it internally (with a note that when we drop np 1.5 to
make numpy do it).
I think the best
IMO, this seems like a bug. I would expect bars to change height with
zoom/limit levels.
-p
—
Sent from Mailbox
On Sat, Mar 7, 2015 at 4:20 PM, Tomo Lazovich wrote:
> Hello matplotlib developers,
> I'm not sure if this is the right mailing list for this question, so please
> re-direct me i
Hello matplotlib developers,
I'm not sure if this is the right mailing list for this question, so please
re-direct me if it is not.
I am wondering whether it is possible to have a histogram in pyplot
normalized to the total length of the list input, rather than just the bins
showing on the plot (
10 matches
Mail list logo