SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S



1
(7)
2
(5)
3
(3)
4
5
(1)
6
(4)
7
(1)
8
(6)
9
(2)
10
(13)
11
(1)
12
13
(5)
14
(1)
15
(3)
16
(1)
17
(9)
18
(1)
19
(6)
20
21
(2)
22
(1)
23
(2)
24
(15)
25
(1)
26
(5)
27
(6)
28
(6)
29
(5)
30
(10)
31
(1)

Showing 5 results of 5

From: Nic E. <ns...@co...> - 2012年08月13日 05:04:49
Oops, sorry. I realized it was actually Ben Root who suggested I start this
discussion. Don't want to put words in anyones mouth.
Nic
On Sun, Aug 12, 2012 at 11:51 PM, Nic Eggert <ns...@co...> wrote:
> Hi all,
>
> I'd like to bring up a question spurred by PRs #847(mine) and #819
> (recently accepted). These PRs both deal with stacked plots. #819 adds the
> stackplot function to axes.py as a new function, which plots different 2-d
> datasets stacked atop each other. #847 slightly modifies the functioning of
> `hist` in axes.py by adding a new kwarg which allows datasets to be
> stacked. Currently this is only possible using the `barstacked` histtype.
> #847 makes it also work with the `step` and `stepfilled` histtypes.
>
> One of the issues that has been raised in the comments of #847 is whether
> we want to take this opportunity to come up with a unified way to handle
> "stacked-ness". Michael Droettboom suggested I raise this issue on this
> list. So far, there are 3 different approaches:
>
> 1. The state before #819. AFAIK the only way to do any sort of stacking
> was to call `hist` with `histtype="barstacked"`. This treats stacked
> histograms as a different type of histogram than non-stacked histograms.
> One of my motivations for writing #847 was to get stacked step and
> stepfilled histograms, which would require adding several new histtypes
> (stepstacked and stepfilledstacked). It seems to me that histtype mostly
> controls the style of the histogram plotted, and shouldn't have anything to
> do with "stacked-ness", so I think this is kind of clunky.
>
> 2. The approach I take in #847. Add a new kwarg which controls whether or
> not multiple datasets are stacked. I think this is the cleanest
> implementation, although that's probably obvious because it's how I wrote
> my PR. To keep everything consistent in this approach, we should remove the
> stackplot function added in #819, and move that functionality to the `plot`
> function, adding a `stacked` kwarg there.
>
> 3. The approach of #819. With this approach, we would add a separate
> function to handle stacked versions of different plots. I'd re-write #847
> as a new function called `stackhist`. This approach, IMO, doesn't scale
> well if we want to add "stacked-ness" to more plot types in the future.
>
> Please take a look at this and send comments about these proposals or any
> others you might have. I hope the community can come to a consensus which
> unifies the handling of stacked-ness.
>
> Whatever we end up choosing, I think adding a stacked step histogram will
> make it much easier to promote the use of mpl in high energy physics, where
> we use this style of plot frequently.
>
> Thanks,
>
> Nic Eggert
> Graduate Fellow
> Cornell University
>
From: Nic E. <ns...@co...> - 2012年08月13日 04:51:52
Hi all,
I'd like to bring up a question spurred by PRs #847(mine) and #819
(recently accepted). These PRs both deal with stacked plots. #819 adds the
stackplot function to axes.py as a new function, which plots different 2-d
datasets stacked atop each other. #847 slightly modifies the functioning of
`hist` in axes.py by adding a new kwarg which allows datasets to be
stacked. Currently this is only possible using the `barstacked` histtype.
#847 makes it also work with the `step` and `stepfilled` histtypes.
One of the issues that has been raised in the comments of #847 is whether
we want to take this opportunity to come up with a unified way to handle
"stacked-ness". Michael Droettboom suggested I raise this issue on this
list. So far, there are 3 different approaches:
1. The state before #819. AFAIK the only way to do any sort of stacking was
to call `hist` with `histtype="barstacked"`. This treats stacked histograms
as a different type of histogram than non-stacked histograms. One of my
motivations for writing #847 was to get stacked step and stepfilled
histograms, which would require adding several new histtypes (stepstacked
and stepfilledstacked). It seems to me that histtype mostly controls the
style of the histogram plotted, and shouldn't have anything to do with
"stacked-ness", so I think this is kind of clunky.
2. The approach I take in #847. Add a new kwarg which controls whether or
not multiple datasets are stacked. I think this is the cleanest
implementation, although that's probably obvious because it's how I wrote
my PR. To keep everything consistent in this approach, we should remove the
stackplot function added in #819, and move that functionality to the `plot`
function, adding a `stacked` kwarg there.
3. The approach of #819. With this approach, we would add a separate
function to handle stacked versions of different plots. I'd re-write #847
as a new function called `stackhist`. This approach, IMO, doesn't scale
well if we want to add "stacked-ness" to more plot types in the future.
Please take a look at this and send comments about these proposals or any
others you might have. I hope the community can come to a consensus which
unifies the handling of stacked-ness.
Whatever we end up choosing, I think adding a stacked step histogram will
make it much easier to promote the use of mpl in high energy physics, where
we use this style of plot frequently.
Thanks,
Nic Eggert
Graduate Fellow
Cornell University
From: Eric F. <ef...@ha...> - 2012年08月13日 03:23:13
On 2012年08月12日 3:34 PM, Daniel Hyams wrote:
>
> I was wanting to add a feature to matplotlib...one that I would use in
> my application. I also want to contribute the feature back. I'm
> personally using version 1.1.1 of matplotlib. Disclaimer...I only know
> enough about git to be dangerous.
>
> So is it best to branch from v1.1.1, implement the feature, and then try
> to rebase to master? Or is it best to branch from master, implement the
> feature, and then (somehow) backport the patch to the v1.1.1 tagged version?
Mike answered for the case where you are making a bugfix that really 
does go in v1.1.x. I think that even there, what he is recommending is 
a bit different from what you have in mind: he is saying to branch from 
an up-to-date v1.1.x, not from v1.1.1. Similarly, for the case you have 
in mind, the pull request should be for a change relative to a recent 
enough point on the master branch that it can be merged cleanly, and 
with no unexpected side-effects.
It sounds like what you are trying to do is maintain your own branch off 
of the v1.1.1 tagged version, with only your own features added.
I don't think there is any single best way to do this; it depends on how 
you work, and on what sorts of changes you are making.
Developing your change in your feature branch off of v1.1.1 is perfectly 
reasonable, since that is where you are normally working, and that is 
where you need it to work. To propagate it upstream, you do need to 
either cherry-pick it, or reimplement it, relative to recent master. 
Re-implementing it can be simpler in some cases--easier to see what is 
going on!
I had been thinking "rebase", but this is not correct; you don't want to 
*remove* your commits from your branch off of v1.1.1, you want to 
*reproduce* them, or their net effect, in a *new* topic branch off of 
up-to-date master.
It would go something like this. Assume "upstream" is the remote 
pointing to the main mpl repo, and "origin" is your github repo. Assume 
your changes are in a topic branch called "dh_topic_stable", off of 
v1.1.1. Find the commit numbers in dh_topic_stable that you need to 
propagate, say "a0b123fed" and "df237abc".
git fetch upstream
git checkout -b dh_topic upstream/master
git cherry-pick a0b123fed df237abc
# build and test; maybe add documentation and test commits
git push origin dh_topic
Then make your pull request against mpl master.
For seeing what is in a repo, and what happens at each step of the way, 
I find qgit helpful. Invoke as "qgit --all". You need to hit the 
refresh button after each command-line git call.
Eric
>
> Whatever the best choice is, what would the procedure look like to
> accomplish this?
>
> --
> Daniel Hyams
> dh...@gm... <mailto:dh...@gm...>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
From: Michael D. <md...@st...> - 2012年08月13日 01:50:55
On 08/12/2012 09:34 PM, Daniel Hyams wrote:
>
> I was wanting to add a feature to matplotlib...one that I would use in 
> my application. I also want to contribute the feature back. I'm 
> personally using version 1.1.1 of matplotlib. Disclaimer...I only 
> know enough about git to be dangerous.
>
> So is it best to branch from v1.1.1, implement the feature, and then 
> try to rebase to master? Or is it best to branch from master, 
> implement the feature, and then (somehow) backport the patch to the 
> v1.1.1 tagged version?
If something is a bugfix, I generally branch from v1.1.x (i.e. the 
maintenance branch), implement the feature, submit a pull request for 
that, which eventually gets merged into the maintenance branch. Then I 
merge the maintenance branch into master. The last step can generally 
only be done by people with write permissions to the core repository. I 
know other projects that work the other way around, but that's the way 
things have generally been done in matplotlib.
>
> Whatever the best choice is, what would the procedure look like to 
> accomplish this?
git checkout -b my_new_feature upstream/v1.1.x
... implement feature ...
git add ...files...
git commit
git push origin my_new_feature
...create a pull request on github...
...after the pull request is merged, v1.1.x gets merged into master...
Mike
>
> -- 
> Daniel Hyams
> dh...@gm... <mailto:dh...@gm...>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Daniel H. <dh...@gm...> - 2012年08月13日 01:34:43
I was wanting to add a feature to matplotlib...one that I would use in my
application. I also want to contribute the feature back. I'm personally
using version 1.1.1 of matplotlib. Disclaimer...I only know enough about
git to be dangerous.
So is it best to branch from v1.1.1, implement the feature, and then try to
rebase to master? Or is it best to branch from master, implement the
feature, and then (somehow) backport the patch to the v1.1.1 tagged version?
Whatever the best choice is, what would the procedure look like to
accomplish this?
-- 
Daniel Hyams
dh...@gm...

Showing 5 results of 5

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /