Re: [Matplotlib-users] Using unregistered scales

2014-10-08 Thread Pierre Haessig
Hi Paul,

Le 06/10/2014 22:27, Paul Hobson a écrit :
 I built a ProbabilityScale[2] which I hope one day will be in the 
 statsmodels library.
This just made me think that back in April I was also playing with 
matplotlib scales for probability distribution.
http://nbviewer.ipython.org/gist/pierre-haessig/7e3e6a818edeb6819708

It's actually a completely different idea, because I was doing a logit 
scale to get a good visualization of *tails* in a cumulated distribution 
plot. So I'm jumping on your thread in case anyone can give me some 
feedback on this idea. For example, I have no clue on how common this 
kind of plot is (and how useful it can be!!).

best,
Pierre

(and going back to your original question, I notice that I was indeed 
registering the scale...)


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] List of matplotlib-using software for wikipedia

2014-10-08 Thread Benjamin Root
No clue, but here is one project to add to some such list:
https://github.com/rillian/isee3-telemetry

On Sun, Oct 5, 2014 at 5:33 PM, Frank Lindner franklindne...@gmail.com
wrote:

 hello everyone,
 I would like to have a list of software, which uses matplotlib to extend
 the wikipedia in some other languages. do you have an idea where I could
 find such lists?
 thank you!


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] List of matplotlib-using software for wikipedia

2014-10-08 Thread Paul Kuin
Seems to me a weird kind of exercise. Bound to be incomplete to some
unknown degree.  Whats the point then?

On Wed, Oct 8, 2014 at 4:47 PM, Benjamin Root ben.r...@ou.edu wrote:

 No clue, but here is one project to add to some such list:
 https://github.com/rillian/isee3-telemetry

 On Sun, Oct 5, 2014 at 5:33 PM, Frank Lindner franklindne...@gmail.com
 wrote:

 hello everyone,
 I would like to have a list of software, which uses matplotlib to extend
 the wikipedia in some other languages. do you have an idea where I could
 find such lists?
 thank you!


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 

* * * * * * * * http://www.mssl.ucl.ac.uk/~npmk/ * * * *
Dr. N.P.M. Kuin  (n.k...@ucl.ac.uk)
phone +44-(0)1483 (prefix) -204927 (work)
mobile +44(0)7806985366  skype ID: npkuin
Mullard Space Science Laboratory  – University College London  –
Holmbury St Mary – Dorking – Surrey RH5 6NT–  U.K.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] List of matplotlib-using software for wikipedia

2014-10-08 Thread Michka Popoff
Hi

maybe you could also just run a search on github with: “import matplotlib” or 
“from matplotlib import pyplot
You’ll get thousands of answers, but using the github search API 
https://developer.github.com/v3/search/,
 you could filter out this data (by project size or by project activity).

This would also allow you to know how many projects are using matplotlib and 
make some stats (at least on github).

Michka

On 8 oct. 2014, at 17:47, Benjamin Root ben.r...@ou.edu wrote:

 No clue, but here is one project to add to some such list: 
 https://github.com/rillian/isee3-telemetry
 
 On Sun, Oct 5, 2014 at 5:33 PM, Frank Lindner franklindne...@gmail.com 
 wrote:
 hello everyone,
 I would like to have a list of software, which uses matplotlib to extend
 the wikipedia in some other languages. do you have an idea where I could
 find such lists?
 thank you!
 
 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 
 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] List of matplotlib-using software for wikipedia

2014-10-08 Thread Skip Montanaro
On Sun, Oct 5, 2014 at 4:33 PM, Frank Lindner franklindne...@gmail.com wrote:
 I would like to have a list of software, which uses matplotlib to extend
 the wikipedia in some other languages.

While that is a noble quest, unless you plan to maintain that list
indefinitely, I think it might do more harm than good. Consider the
case where today products A, B, and C use mpl. Two years down the
road, B is defunct, but a new product, D, has come on the scene and
uses mpl in ways never dreamed of before. If people are searching for
tools which use Matplotlib, they may completely miss D.

Wikipedia has an aura of authority, which in my mind pretty much
requires that you be pretty Johnny-on-the-spot with updates to
enumerated lists such as you propose. I personally think it would be
better if the Matplotlib page in Wikipedia just refers to the main mpl
site.

My 2¢

Skip

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] List of matplotlib-using software for wikipedia

2014-10-08 Thread Paul Kuin
I agree with Skip.

On Wed, Oct 8, 2014 at 5:03 PM, Skip Montanaro s...@pobox.com wrote:

 On Sun, Oct 5, 2014 at 4:33 PM, Frank Lindner franklindne...@gmail.com
 wrote:
  I would like to have a list of software, which uses matplotlib to extend
  the wikipedia in some other languages.

 While that is a noble quest, unless you plan to maintain that list
 indefinitely, I think it might do more harm than good. Consider the
 case where today products A, B, and C use mpl. Two years down the
 road, B is defunct, but a new product, D, has come on the scene and
 uses mpl in ways never dreamed of before. If people are searching for
 tools which use Matplotlib, they may completely miss D.

 Wikipedia has an aura of authority, which in my mind pretty much
 requires that you be pretty Johnny-on-the-spot with updates to
 enumerated lists such as you propose. I personally think it would be
 better if the Matplotlib page in Wikipedia just refers to the main mpl
 site.

 My 2¢

 Skip


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer

 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users




-- 

* * * * * * * * http://www.mssl.ucl.ac.uk/~npmk/ * * * *
Dr. N.P.M. Kuin  (n.k...@ucl.ac.uk)
phone +44-(0)1483 (prefix) -204927 (work)
mobile +44(0)7806985366  skype ID: npkuin
Mullard Space Science Laboratory  – University College London  –
Holmbury St Mary – Dorking – Surrey RH5 6NT–  U.K.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Antialiasing colorbars

2014-10-08 Thread Jesper Baasch-Larsen
Hi Eric

Thanks for your reply and sorry for my late response. Thanks for the pointer. I 
will try to investigate the issue myself.

Best regards,
Jesper

 Den 30/09/2014 kl. 20.44 skrev Eric Firing efir...@hawaii.edu:
 
 On 2014/09/30, 2:41 AM, Jesper Larsen wrote:
 Hi matplotlib users,
 
 Is it possible to disable antialiasing for a colorbar? If not directly
 is it the possible to postprocess the axes instance to se antialiasing
 for relevant elements?
 
 The colorbar returns a Colorbar object, the solids attribute of which 
 is a Quadmesh; so you should be able to execute
 
 cbar.solids.set_antialiased(False)
 
 to turn off antialiasing.  With a bit of testing, however, I am not 
 seeing any difference, so I'm not sure what is going on, and I don't 
 have time now to investigate.
 
 Eric
 
 
 The reason I am asking is because I would like to produce a paletted png
 (using PIL) of the colorbar without the risk of removing any important
 colors in the process (in essence the output from matplotlib needs to
 have less than 256 colors for this to work).
 
 Best regards,
 Jesper
 
 
 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 
 
 
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 
 
 
 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
 ___
 Matplotlib-users mailing list
 Matplotlib-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] svg plots don't scale with css; patch.

2014-10-08 Thread Vadim Gutnik
I'm using matplotlib to generate svg plots which I'm putting into an html
document. I noticed the plots aren't scaling the way I expect them to with
css in an html page, so, a little yak-shaving later, I found a particular
line in the source code that I think should change (or be changeable with
an option).

Basically, the svg backend specifies a width and height in pixels. If I
edit the svg file to set width and height to 100%, the figure scales with
css the way I expect.

Is there some way to do this without patching matplotlib (or editing every
generated svg by hand)? I'm attaching the one-line patch to make the svg
backend do what I want, but if someone wants the old behavior, perhaps
there could be a configuration option in matplotlib.rcParams?

Vadim


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


svg_patch
Description: Binary data
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] FW: traceback when import matplotlib.pyplot twice

2014-10-08 Thread Mark Janikas
Hi All,

I am working on a platform that makes it difficult to provide repro cases... 
but I am hoping someone can shed some light on what I am seeing...  
Essentially, I have a program imports another script that* import 
matplotlib.pyplot as PLT... when it runs more than once then I get the 
following traceback:

Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File C:\Python27\lib\atexit.py, line 24, in _run_exitfuncs
func(*targs, **kargs)
  File C:\Python27\lib\site-packages\matplotlib\_pylab_helpers.py, line 87, in
destroy_all
for manager in list(Gcf.figs.values()):
AttributeError: 'NoneType' object has no attribute 'figs'
Error in sys.exitfunc:
Traceback (most recent call last):
  File C:\Python27\lib\atexit.py, line 24, in _run_exitfuncs
func(*targs, **kargs)
  File C:\Python27\lib\site-packages\matplotlib\_pylab_helpers.py, line 87, in
destroy_all
for manager in list(Gcf.figs.values()):
AttributeError: 'NoneType' object has no attribute 'figs'

This occurs because in this case the PLT functionality is NOT being used on the 
main script.  If I edit the _pylab_helpers.py file and check to see if Gcf is 
None... if it is NOT then do the destroy_all logic... else it passes [code 
change below]... then the error disappears.   I can make it disappear for many 
cases by creating a dummy figure so that Gcf gets created and therefore has 
some garbage to collect.


Any information you can give me would be greatly appreciated.  TY,

MJ

[cid:image001.png@01CFE248.0F0A2700]


_pylab_helpers.py
Description: _pylab_helpers.py
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] FW: traceback when import matplotlib.pyplot twice

2014-10-08 Thread Benjamin Root
Which version of matplotlib and which backend?

Also, don't use == or != when comparing to None. Use is and is not.

Ben Root
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users