This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/python/examples/plot.yap
Vitor Santos Costa fce05b85d3 plot demo
2016-08-22 17:03:41 -05:00

13 lines
170 B
Prolog

:- [library(python)].
main :-
Plt = matplotlib.pyplot,
:= import( Plt ),
:= (
Plt.plot([1,2,3,4]),
Plt.ylabel(`some numbers`),
Plt.show()
).