matplotlib/matplotlib — Issue #540: svg engine broken: fails with default tick labels on colorbar 
Author: mdboom
Created: 2011-10-18 18:36:02+00:00
State: open
Labels: confirmed

From Launchpad bug #877519.

```python
from pylab import *
figimage([1])
jet()
h=colorbar()
h.set_label('$wer$')
savefig('tmpbug.svg',format='svg')
```

```
File "lp877519.py", line 4, in
h=colorbar()
File "/home/mdroe/ports/lib/python2.7/site-packages/matplotlib/pyplot.py", line 1688, in colorbar
ret = gcf().colorbar(mappable, cax = cax, ax=ax, **kw)
File "/home/mdroe/ports/lib/python2.7/site-packages/matplotlib/figure.py", line 1197, in colorbar
cb = cbar.Colorbar(cax, mappable, **kw)
File "/home/mdroe/ports/lib/python2.7/site-packages/matplotlib/colorbar.py", line 718, in __init__
mappable.autoscale_None() # Ensure mappable.norm.vmin, vmax
AttributeError: 'NoneType' object has no attribute 'autoscale_None'
```