Revision: 7107
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7107&view=rev
Author:   jdh2358
Date:     2009-05-17 14:13:14 +0000 (Sun, 17 May 2009)

Log Message:
-----------
removed some deprecation warnings from mlab

Modified Paths:
--------------
    branches/v0_98_5_maint/lib/matplotlib/mlab.py

Modified: branches/v0_98_5_maint/lib/matplotlib/mlab.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/mlab.py       2009-05-17 14:11:35 UTC 
(rev 7106)
+++ branches/v0_98_5_maint/lib/matplotlib/mlab.py       2009-05-17 14:13:14 UTC 
(rev 7107)
@@ -272,11 +272,6 @@
         pad_to = NFFT
 
     if scale_by_freq is None:
-        warnings.warn("psd, csd, and specgram have changed to scale their "
-            "densities by the sampling frequency for better MatLab "
-            "compatibility. You can pass scale_by_freq=False to disable "
-            "this behavior.  Also, one-sided densities are scaled by a "
-            "factor of 2.")
         scale_by_freq = True
 
     # For real x, ignore the negative frequencies unless told otherwise
@@ -1880,8 +1875,6 @@
     much faster.
     """
     if typecode is not None:
-        warnings.warn("Use dtype kwarg instead of typecode",
-                       DeprecationWarning)
         dtype = typecode
     iden = np.zeros((n,)*rank, dtype)
     for i in range(n):


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to