matplotlib 0.7.4 → 0.7.5
raw patch · 4 files changed
+2/−8 lines, 4 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Graphics.Matplotlib: setUnicode :: Bool -> Matplotlib
Files
- matplotlib.cabal +1/−1
- src/Graphics/Matplotlib.hs +0/−4
- src/Graphics/Matplotlib/Internal.hs +0/−1
- test/Spec.hs +1/−2
matplotlib.cabal view
@@ -1,5 +1,5 @@ name: matplotlib-version: 0.7.4+version: 0.7.5 synopsis: Bindings to Matplotlib; a Python plotting library description: Matplotlib is probably the most full featured plotting library out there.
src/Graphics/Matplotlib.hs view
@@ -222,10 +222,6 @@ setTeX :: Bool -> Matplotlib setTeX b = mp # "plot.rc('text', usetex="# b #")" --- | Enable or disable unicode-setUnicode :: Bool -> Matplotlib-setUnicode b = mp # "matplotlib.rcParams['text.latex.unicode'] = " # b- -- * Basic plotting commands -- | Plot the 'a' and 'b' entries of the data object
src/Graphics/Matplotlib/Internal.hs view
@@ -335,7 +335,6 @@ ,"import matplotlib.path as mpath" ,"import matplotlib.patches as mpatches" ,"import matplotlib.pyplot as plot"- ,"import matplotlib.mlab as mlab" ,"import matplotlib.cm as cm" ,"import matplotlib.colors as mcolors" ,"import matplotlib.collections as mcollections"
test/Spec.hs view
@@ -264,7 +264,6 @@ -- | http://matplotlib.org/examples/pylab_examples/tex_unicode_demo.html mtex = setTeX True- % setUnicode True % figure % addSubplot 1 1 1 % plotMapLinear cos 0 1 100@@ -611,7 +610,7 @@ mgriddata = readData (x, y, z, xi, yi) -- TODO This requires a lot of manual indexing. Next big API change will be to -- have references to loaded data.- % mp # "data.append(mlab.griddata(data[0], data[1], data[2], data[3], data[4], interp='linear'))"+ % mp # "data.append(interpolate.griddata((data[0], data[1]), data[2], tuple(np.meshgrid(data[3], data[4])), method='cubic', rescale=True))" % mp # "plot.sci(ax.contour(data[3], data[4], data[5], 15, linewidths=0.5, colors='k'))" % mp # "plot.sci(ax.contourf(data[3], data[4], data[5], 15, vmax=abs(data[5]).max(), vmin=-abs(data[5]).max()))" % colorbar