2 Commits

Author SHA1 Message Date
Andy Nowacki
0b800ac6d3 Check contour levels has correct value for all backends
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.
2021-08-24 16:27:09 +01:00
Andy Nowacki
f1c0c7e4ec Add tests for contour levels and the start of Plotly tests
- Test that the `levels` keyword argument is correctly stored.
- For the Plotly (and PlotlyJS) backend, test that `levels`
  is correctly converted to backend-specific settings.
2021-08-20 15:49:22 +01:00