mirror of
https://github.com/php-win-ext/phpy.git
synced 2026-04-26 09:58:17 +02:00
Update doc, add matplotlib.pyplot example
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user