Adjustments to contour.py so that levels are set accordingly to input vmin and vmax, if provided, so color bar works correctly. by kthyng · Pull Request #2176 · matplotlib/matplotlib

added 3 commits

June 28, 2013 17:02
…and then min or max out the input z values accordingly.
…utside the range of the data. In this case, the contour plot, if extend for the appropriate direction is also chosen, will appropriately reflect the desired range.
…ust call and not pop out the arguments. Turns out it is not necessary to use extend, this will just happen on its own.

@kthyng

Two image check tests were added to test_contour.py to make a contourf plot using input argument vmax, one with vmax greater than the maximum of the data set z values and one with vmax less than the maximum of the data set z values.