matplotlib 0.7.1 → 0.7.2
raw patch · 3 files changed
+21/−8 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +9/−3
- matplotlib.cabal +1/−1
- test/Spec.hs +11/−4
README.md view
@@ -42,7 +42,7 @@ If you're using conda ```bash-conda install matplotlib scipy tk+conda install -y matplotlib scipy tk ``` If you have instructions for other machines or OSes let me know. We require the@@ -55,10 +55,16 @@ stack install matplotlib ``` -or+If you use LaTeX markup you will need the requisite packages ```bash-cabal install matplotlib+sudo apt-get install -y texlive-full+```++Or with conda++```bash+conda install -y -c conda-forge texlive-core ``` ### Examples
matplotlib.cabal view
@@ -1,5 +1,5 @@ name: matplotlib-version: 0.7.1+version: 0.7.2 synopsis: Bindings to Matplotlib; a Python plotting library description: Matplotlib is probably the most full featured plotting library out there.
test/Spec.hs view
@@ -17,6 +17,7 @@ import System.Process import System.IO import Numeric.AD+import System.Directory -- * Random values for testing @@ -101,12 +102,18 @@ -- * Tests -main = defaultMain $ tests "All tests" testPlot+main = do+ createDirectoryIfMissing "/tmp/imgs/"+ defaultMain $ tests "All tests" testPlot -main' = defaultMain $ tests "Golden tests" testPlotGolden+main' = do+ createDirectoryIfMissing "/tmp/imgs/"+ defaultMain $ tests "Golden tests" testPlotGolden -main'' = defaultMain $ testGroup "All tests" [tests "Execution tests" testPlot- , toneDownTests "Unreliable across machines" $ tests "Golden tests" testPlotGolden]+main'' = do+ createDirectoryIfMissing "/tmp/imgs/"+ defaultMain $ testGroup "All tests" [tests "Execution tests" testPlot+ , toneDownTests "Unreliable across machines" $ tests "Golden tests" testPlotGolden] tests name f = testGroup name [basicTests f, toneDownTests "Can fail with old matplotlib" $ fragileTests f,