A minimal Python wrapper for Gnuplot.
Project description
Gnuplot-py
written by Michael Haggerty
<mhagger@alum.mit.edu>
is an amazing Python2 package which allows a Python
user to incorporate any Gnuplot command within a Python2 script. However,
Python2 has ended its update in the year of 2020. I need a minimal replacement
of Michael’s module for Python3.
This module only does one job, which is integrating Gnuplot commands in a Python3 script. Please refer to the example below for a quick start.
import GnuplotPy3
gp = GnuplotPy3.GnuplotPy3()
gp('set terminal postscript eps size 3.5, 2.62 \\' )
gp(' enhanced color \\' )
gp(" font 'Helvetica,14' \\")
gp(' linewidth 2' )
gp("set output 'sinx.eps'")
gp("unset key")
gp("plot sin(x)")
input("Press enter to exit...")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GnuplotPy3-0.0.3.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for GnuplotPy3-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66819ea1eaac9c0b3c20ab0f52fff7adf30f7411468a7f46c3a568cb01b93ae2 |
|
MD5 | f6febc42cd4fba450d39b28873db3430 |
|
BLAKE2b-256 | c5d7d8842a1b8553c4cddb117f672313dedb786ab80f6a8beb25953490595a1f |