We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13523cb + d835adf commit 7266b54Copy full SHA for 7266b54
1 file changed
README.md
@@ -32,8 +32,13 @@ to your python scripts folder. This folder should be on your path (add it if it'
32
<img src="examples/histhelp.png">
33
<p><code>scatter</code> takes x and y coordinates as input form either a comma delimited file using -f or from 2 different files using -x and -y.</p>
34
<img src="examples/scatterhelp.png">
35
+
36
<h5>in python</h5>
-<p>this is how you use it in python</p>
37
+<p>If you want to use bashplotlib from python, just import histogram and scatterplot.</p>
38
+<pre>from bashplotlib.scatterplot import plot_scatter</pre>
39
+<img src="examples/scatterplothelp.png">
40
+<pre>from bashplotlib.histogram import plot_hist</pre>
41
+<img src="examples/histogramhelp.png">
42
43
##examples
44
<pre>$ scatter -f data/texas.txt --pch .</pre>
0 commit comments