From: Sebastian <se...@gm...> - 2016-01-31 01:46:05
|
Ahhhh thats too bad (that we can't recover the original ids.) What could one (as user) do to officially request it be fixed/factored out to numpy? On Fri, Jan 29, 2016 at 7:30 PM, Thomas Caswell <tca...@gm...> wrote: > Factor it out and give it to numpy! > > On Fri, Jan 29, 2016, 17:27 Benjamin Root <ben...@gm...> wrote: > >> Hmm, you are right, there is no way to get back the information that >> hexbin computed. The hexbin function is massive (in >> lib/matplotlib/axes/_axes.py) and is a bit tangled up with the >> artist-handling code, too. I think it would make sense to factor out the >> hexbinning component into its own hexbin.py that others might be able to >> use separately. >> >> Ben Root >> >> >> On Fri, Jan 29, 2016 at 5:15 PM, Sebastian <se...@gm...> wrote: >> >>> Is there a simple way to hexbin using "pyplot.hexbin" and to return the >>> ids of the set of >>> points in each hexbin? That is to output an array of n elements >>> (one for each hexbin), and each element itself an array with the point >>> ids? The sum >>> of the number of inner elements would be equal the sum of all points >>> (x,y). >>> >>> Is hexbin missing this simple feature? >>> >>> Or perhaps specifying C=N.arange(len(x)) then some specific >>> "reduced_C_function" >>> to return those elements. But I don't know if there is a >>> "reduced_C_function" available, >>> or perhaps one could be added? >>> >>> many thanks in advance... >>> >>> link: >>> http://stackoverflow >>> .com/questions/18886461/how-can-i-print-a-list-of-the-outputs-from-the- >>> hexbin-reduce-c-function/35088073#35088073 >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Site24x7 APM Insight: Get Deep Visibility into Application Performance >>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >>> Monitor end-to-end web transactions and take corrective actions now >>> Troubleshoot faster and improve end-user experience. Signup Now! >>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |