Skip to content

Commit 962f8dd

Browse files
committed
update for newer matplotlib
1 parent 642500e commit 962f8dd

File tree

2 files changed

+75
-75
lines changed

2 files changed

+75
-75
lines changed

README.md

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -82,77 +82,77 @@ different.
8282
[![quiver][img_quiver]][url_quiver]
8383
[![pie][img_pie]][url_pie]
8484

85-
[img_pcolorlog]: https://i.imgur.com/O8hU7Rl.png "pcolorlog"
86-
[url_pcolorlog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L495
87-
[img_griddata]: https://i.imgur.com/Lh2xOPf.png "griddata"
88-
[url_griddata]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L602
89-
[img_streamplot]: https://i.imgur.com/AveIggT.png "streamplot"
90-
[url_streamplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L582
91-
[img_hist2DLog]: https://i.imgur.com/PnPyJzO.png "hist2DLog"
92-
[url_hist2DLog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L275
93-
[img_cumulative]: https://i.imgur.com/W9JinZC.png "cumulative"
94-
[url_cumulative]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L217
95-
[img_eventplot]: https://i.imgur.com/2chP6qg.png "eventplot"
96-
[url_eventplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L280
97-
[img_quiver]: https://i.imgur.com/7G7r9gu.png "quiver"
98-
[url_quiver]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L423
99-
[img_labelled-histogram]: https://i.imgur.com/cOCIlpy.png "labelled-histogram"
100-
[url_labelled-histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L226
101-
[img_line-options]: https://i.imgur.com/0Jr83hl.png "line-options"
102-
[url_line-options]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L249
103-
[img_violinplot]: https://i.imgur.com/MaWL0BD.png "violinplot"
104-
[url_violinplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L298
105-
[img_density]: https://i.imgur.com/v7GoIno.png "density"
106-
[url_density]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L241
107-
[img_tex]: https://i.imgur.com/liZci2C.png "tex"
108-
[url_tex]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L259
109-
[img_scatterhist]: https://i.imgur.com/DG3obq8.png "scatterhist"
110-
[url_scatterhist]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L305
111-
[img_boxplot]: https://i.imgur.com/aaoMEql.png "boxplot"
112-
[url_boxplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L292
113-
[img_histogram]: https://i.imgur.com/yO6dxEO.png "histogram"
114-
[url_histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L214
115-
[img_images]: https://i.imgur.com/3ZqQDxR.png "images"
116-
[url_images]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L482
117-
[img_polar]: https://i.imgur.com/BTXgvqa.png "polar"
118-
[url_polar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L450
119-
[img_histMulti]: https://i.imgur.com/hO2CFGQ.png "histMulti"
120-
[url_histMulti]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L334
121-
[img_annotation]: https://i.imgur.com/cPSB8BX.png "annotation"
122-
[url_annotation]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L539
123-
[img_corr]: https://i.imgur.com/fh4Bv2X.png "corr"
124-
[url_corr]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L254
125-
[img_scatter]: https://i.imgur.com/qg7W3oc.png "scatter"
126-
[url_scatter]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L219
127-
[img_hinton]: https://i.imgur.com/RPkTFIJ.png "hinton"
128-
[url_hinton]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L380
129-
[img_quiver-fancy]: https://i.imgur.com/VQ5RrfJ.png "quiver-fancy"
130-
[url_quiver-fancy]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L434
131-
[img_quadratic]: https://i.imgur.com/fs96snF.png "quadratic"
132-
[url_quadratic]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L245
133-
[img_line-function]: https://i.imgur.com/5REiBVO.png "line-function"
134-
[url_line-function]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L243
135-
[img_integral]: https://i.imgur.com/OxGr14f.png "integral"
136-
[url_integral]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L396
137-
[img_contour]: https://i.imgur.com/kMxGGot.png "contour"
138-
[url_contour]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L224
139-
[img_projections]: https://i.imgur.com/laubT7H.png "projections"
140-
[url_projections]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L247
141-
[img_legend]: https://i.imgur.com/EmpXjUY.png "legend"
142-
[url_legend]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L270
143-
[img_spines]: https://i.imgur.com/fc9xwh5.png "spines"
144-
[url_spines]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L352
145-
[img_density-bandwidth]: https://i.imgur.com/e48WAPS.png "density-bandwidth"
146-
[url_density-bandwidth]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L238
147-
[img_bivariateNormal]: https://i.imgur.com/ngX1N2R.png "bivariateNormal"
148-
[url_bivariateNormal]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L465
149-
[img_pie]: https://i.imgur.com/DSRqr14.png "pie"
150-
[url_pie]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L516
151-
[img_show-matrix]: https://i.imgur.com/bd6x6Es.png "show-matrix"
152-
[url_show-matrix]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L267
153-
[img_hists]: https://i.imgur.com/hJaxZJt.png "hists"
154-
[url_hists]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L371
155-
[img_errorbar]: https://i.imgur.com/ooTcL40.png "errorbar"
156-
[url_errorbar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L287
157-
[img_stacked]: https://i.imgur.com/TIqlAtR.png "stacked"
158-
[url_stacked]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L523
85+
[img_quadratic]: https://i.imgur.com/E4AafPD.png "quadratic"
86+
[url_quadratic]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L248
87+
[img_labelled-histogram]: https://i.imgur.com/lCVEpge.png "labelled-histogram"
88+
[url_labelled-histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L229
89+
[img_contour]: https://i.imgur.com/KoAIf9Z.png "contour"
90+
[url_contour]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L227
91+
[img_eventplot]: https://i.imgur.com/UMT1yku.png "eventplot"
92+
[url_eventplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L285
93+
[img_bivariateNormal]: https://i.imgur.com/fTSfEzo.png "bivariateNormal"
94+
[url_bivariateNormal]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L470
95+
[img_legend]: https://i.imgur.com/X46KiUJ.png "legend"
96+
[url_legend]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L275
97+
[img_streamplot]: https://i.imgur.com/IfHLmkC.png "streamplot"
98+
[url_streamplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L587
99+
[img_scatter]: https://i.imgur.com/dceKS4I.png "scatter"
100+
[url_scatter]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L222
101+
[img_hist2DLog]: https://i.imgur.com/2fL8oEX.png "hist2DLog"
102+
[url_hist2DLog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L280
103+
[img_cumulative]: https://i.imgur.com/u5I8NYF.png "cumulative"
104+
[url_cumulative]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L220
105+
[img_stacked]: https://i.imgur.com/rWIyizX.png "stacked"
106+
[url_stacked]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L528
107+
[img_images]: https://i.imgur.com/R1fhDXC.png "images"
108+
[url_images]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L487
109+
[img_errorbar]: https://i.imgur.com/gi0zEiz.png "errorbar"
110+
[url_errorbar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L292
111+
[img_show-matrix]: https://i.imgur.com/ajY0A9l.png "show-matrix"
112+
[url_show-matrix]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L272
113+
[img_line-options]: https://i.imgur.com/Fahp7QA.png "line-options"
114+
[url_line-options]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L252
115+
[img_quiver-fancy]: https://i.imgur.com/NsOFHhx.png "quiver-fancy"
116+
[url_quiver-fancy]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L439
117+
[img_annotation]: https://i.imgur.com/9tdHiaT.png "annotation"
118+
[url_annotation]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L544
119+
[img_integral]: https://i.imgur.com/PkepIKR.png "integral"
120+
[url_integral]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L401
121+
[img_quiver]: https://i.imgur.com/TcayDLc.png "quiver"
122+
[url_quiver]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L428
123+
[img_projections]: https://i.imgur.com/IlK7Oy3.png "projections"
124+
[url_projections]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L250
125+
[img_density]: https://i.imgur.com/KS2OhbH.png "density"
126+
[url_density]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L244
127+
[img_griddata]: https://i.imgur.com/SH83pJK.png "griddata"
128+
[url_griddata]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L607
129+
[img_hinton]: https://i.imgur.com/m9a4IwL.png "hinton"
130+
[url_hinton]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L385
131+
[img_scatterhist]: https://i.imgur.com/9ZIVotE.png "scatterhist"
132+
[url_scatterhist]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L310
133+
[img_violinplot]: https://i.imgur.com/iBOfnuL.png "violinplot"
134+
[url_violinplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L303
135+
[img_histMulti]: https://i.imgur.com/FxEI3EI.png "histMulti"
136+
[url_histMulti]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L339
137+
[img_spines]: https://i.imgur.com/BryQOY9.png "spines"
138+
[url_spines]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L357
139+
[img_corr]: https://i.imgur.com/GnBpDJL.png "corr"
140+
[url_corr]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L257
141+
[img_pie]: https://i.imgur.com/ljgWXf6.png "pie"
142+
[url_pie]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L521
143+
[img_hists]: https://i.imgur.com/KurE2Sr.png "hists"
144+
[url_hists]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L376
145+
[img_tex]: https://i.imgur.com/bR8r579.png "tex"
146+
[url_tex]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L262
147+
[img_histogram]: https://i.imgur.com/X37Rmy4.png "histogram"
148+
[url_histogram]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L217
149+
[img_line-function]: https://i.imgur.com/zkpfQqW.png "line-function"
150+
[url_line-function]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L246
151+
[img_density-bandwidth]: https://i.imgur.com/Qgjvrox.png "density-bandwidth"
152+
[url_density-bandwidth]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L241
153+
[img_boxplot]: https://i.imgur.com/KigvYSc.png "boxplot"
154+
[url_boxplot]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L297
155+
[img_polar]: https://i.imgur.com/4DAOrF1.png "polar"
156+
[url_polar]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L455
157+
[img_pcolorlog]: https://i.imgur.com/ZLUoUqy.png "pcolorlog"
158+
[url_pcolorlog]: https://github.com/abarbu/matplotlib-haskell/blob/master/test/Spec.hs#L500

src/Graphics/Matplotlib.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ setParameter k v = mp # "matplotlib.rcParams["# str k #"] = " # v
219219

220220
-- | Enable or disable TeX
221221
setTeX :: Bool -> Matplotlib
222-
setTeX b = mp # "matplotlib.rcParams['text.usetex'] = " # b
222+
setTeX b = mp # "plot.rc('text', usetex="# b #")"
223223

224224
-- | Enable or disable unicode
225225
setUnicode :: Bool -> Matplotlib

0 commit comments

Comments
 (0)