Update doc, add matplotlib.pyplot example

This commit is contained in:
tianfenghan
2023-12-08 14:37:24 +08:00
parent a95f73bb4e
commit a5cdb26bcd
11 changed files with 960 additions and 17 deletions
+7
View File
@@ -0,0 +1,7 @@
<?php
$plt = PyCore::import("matplotlib.pyplot");
$x = new PyList([1, 2, 3, 4]);
$y = new PyList([30, 20, 50, 60]);
$plt->plot($x, $y);
$plt->show();