Skip to content

Commit 1741bdb

Browse files
committed
Update pyplot.sc
1 parent 42e4caf commit 1741bdb

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

pyplot.sc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@
3838
(only (darkart py ffi) py/run-simple-string))
3939

4040

41-
(define plt
42-
(begin
43-
(py/run-simple-string "import sys")
44-
(py/run-simple-string "sys.argv = ['']")
45-
(py/run-simple-string "import matplotlib")
46-
(py/run-simple-string "matplotlib.use('TkAgg')")
47-
(py-import 'matplotlib.pyplot)))
41+
(define plt
42+
(begin
43+
(py/run-simple-string "import sys")
44+
(py/run-simple-string "sys.argv = ['']")
45+
(py/run-simple-string "import matplotlib")
46+
(py/run-simple-string "matplotlib.use('TkAgg')")
47+
(py-import 'matplotlib.pyplot)))
4848

4949

50-
(define *plot (py-get plt 'plot))
51-
(define *show (py-get plt 'show))
50+
(define *plot (py-get plt 'plot))
51+
(define *show (py-get plt 'show))
5252

53-
(define plt-plot (py-func *plot))
54-
(define plt-show (py-func *show))
53+
(define plt-plot (py-func *plot))
54+
(define plt-show (py-func *show))
5555

5656
)

0 commit comments

Comments
 (0)