File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,4 +44,5 @@ in Matplotlib 2.2 has been removed. See below for a list:
4444- `mlab.csvformat_factory `
4545- `mlab.get_formatd `
4646- `mlab.FormatDatetime ` (use datetime.strftime instead)
47+ - `mlab.FormatDate ` (use date.strftime instead)
4748- `mlab.donothing_callback `
Original file line number Diff line number Diff line change @@ -2258,24 +2258,6 @@ def __init__(self, precision=4):
22582258 FormatFloat .__init__ (self , precision , scale = 1e-6 )
22592259
22602260
2261- @cbook .deprecated ("2.2" , alternative = 'date.strftime' )
2262- class FormatDate (FormatObj ):
2263- def __init__ (self , fmt ):
2264- self .fmt = fmt
2265-
2266- def __hash__ (self ):
2267- return hash ((self .__class__ , self .fmt ))
2268-
2269- def toval (self , x ):
2270- if x is None :
2271- return 'None'
2272- return x .strftime (self .fmt )
2273-
2274- def fromstr (self , x ):
2275- import dateutil .parser
2276- return dateutil .parser .parse (x ).date ()
2277-
2278-
22792261class GaussianKDE (object ):
22802262 """
22812263 Representation of a kernel-density estimate using Gaussian kernels.
You can’t perform that action at this time.
0 commit comments