This commit moves the check for the correctness of the `levels` keyword argument into `RecipesPipeline.preprocess_attributes!(::KW)` and calls the new function `check_contour_levels`, which in turn will throw an `ArgumentError` if the argument is not correct. To that end: - Remove the check for non-integer and non-vector values of `levels` from the PyPlot backend code, and - Add low-level tests for the new function and high-level tests for contour plots.
Plots
This is the DOI for all Versions, please follow the link to get the DOI for a specific version.
Created by Tom Breloff (@tbreloff)
Maintained by the JuliaPlots members
Plots is a plotting API and toolset. My goals with the package are:
- Powerful. Do more with less. Complex visualizations become easy.
- Intuitive. Stop reading so much documentation. Commands should "just work".
- Concise. Less code means fewer mistakes and more efficient development/analysis.
- Flexible. Produce your favorite plots from your favorite package, but quicker and simpler.
- Consistent. Don't commit to one graphics package, use the same code everywhere.
- Lightweight. Very few dependencies.
- Smart. Attempts to figure out what you want it to do... not just what you tell it.
Description
Languages
Julia
99.9%
Shell
0.1%