Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e6345ea

Browse files
committed
Remove mlab.csvformat_factory
1 parent f1c3ee3 commit e6345ea

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

doc/api/next_api_changes/2018-09-18-DS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ in Matplotlib 2.2 has been removed. See below for a list:
4141
- `mlab.inside_poly`
4242
- `mlab.rec2csv` (use numpy.recarray.tofile instead)
4343
- `mlab.rec2text` (use numpy.recarray.tofile instead)
44+
- `mlab.csvformat_factory`
4445
- `mlab.donothing_callback`

lib/matplotlib/mlab.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2311,15 +2311,6 @@ def get_formatd(r, formatd=None):
23112311
return formatd
23122312

23132313

2314-
@cbook.deprecated("2.2")
2315-
def csvformat_factory(format):
2316-
format = copy.deepcopy(format)
2317-
if isinstance(format, FormatFloat):
2318-
format.scale = 1. # override scaling for storage
2319-
format.fmt = '%r'
2320-
return format
2321-
2322-
23232314
class GaussianKDE(object):
23242315
"""
23252316
Representation of a kernel-density estimate using Gaussian kernels.

0 commit comments

Comments
 (0)