Closed
Description
When iris.quickplot
adds labels, colorbar, etc. to a contourf plot it doesn't necessarily add them to the supplied axes instance. Example:
import matplotlib.pyplot as plt
import iris
import iris.quickplot as qplt
fig1 = plt.figure()
fig2 = plt.figure()
fname = iris.sample_data_path('hybrid_height.nc')
theta = iris.load_cube(fname, 'air_potential_temperature')
cross_section = next(theta.slices(['grid_longitude',
'model_level_number']))
ax = fig1.add_subplot(2, 1, 1)
qplt.contourf(cross_section, axes=ax)
plt.show()