matplotlib/matplotlib — pull request #3653 by switham (2014-10-17 03:02:20+00:00)
Title: Make ScalarMappable a new-style class.

(In `cm.py`:) `class ScalarMappable:` ==> `class ScalarMappable(object):`

There are no other old-style classes in `cm.py`, but, *e.g.*,

```
$ grep '^class' *.py |grep -v '('
__init__.py:class Verbose:
animation.py:class FFMpegBase:
animation.py:class MencoderBase:
animation.py:class ImageMagickBase:
artist.py:class ArtistInspector:
axis.py:class Ticker:
backend_bases.py:class GraphicsContextBase:
backend_bases.py:class Event:
backend_bases.py:class Cursors:
cbook.py:class CallbackRegistry:
cbook.py:class Bunch:
cbook.py:class Sorter:
cbook.py:class Null:
cbook.py:class GetRealpathAndStat:
cbook.py:class RingBuffer:
cbook.py:class MemoryMonitor:
contour.py:class ContourLabeler:
dates.py:class strpdate2num:
dates.py:class rrulewrapper:
figure.py:class SubplotParams:
fontconfig_pattern.py:class FontconfigPatternParser:
hatch.py:class HatchPatternBase:
lines.py:class VertexSelector:
mlab.py:class PCA:
mlab.py:class FIFOBuffer:
mlab.py:class FormatObj:
rcsetup.py:class ValidateInStrings:
rcsetup.py:class validate_nseq_float:
rcsetup.py:class validate_nseq_int:
rcsetup.py:class ValidateInterval:
sankey.py:class Sankey:
texmanager.py:class TexManager:
ticker.py:class Base:
units.py:class AxisInfo:
units.py:class ConversionInterface:
widgets.py:class LockDraw:
$
```