plot demo
This commit is contained in:
parent
eea3da22f1
commit
fce05b85d3
12
packages/python/examples/plot.yap
Normal file
12
packages/python/examples/plot.yap
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
|
||||||
|
:- [library(python)].
|
||||||
|
|
||||||
|
main :-
|
||||||
|
Plt = matplotlib.pyplot,
|
||||||
|
:= import( Plt ),
|
||||||
|
:= (
|
||||||
|
Plt.plot([1,2,3,4]),
|
||||||
|
Plt.ylabel(`some numbers`),
|
||||||
|
Plt.show()
|
||||||
|
).
|
||||||
|
|
Reference in New Issue
Block a user