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 details)
Built Distribution
File details
Details for the file GnuplotPy3-0.0.3.tar.gz
.
File metadata
- Download URL: GnuplotPy3-0.0.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6405a50422f174276933e4c2e4a5a3f44441a04df26c920e0429ead8b0de1d83 |
|
MD5 | c0c358579e2455406240d774984828fd |
|
BLAKE2b-256 | 51f63e01a568c0abd8985118bb1587305a67de66b859c22f037d6625da95138a |
File details
Details for the file GnuplotPy3-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: GnuplotPy3-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66819ea1eaac9c0b3c20ab0f52fff7adf30f7411468a7f46c3a568cb01b93ae2 |
|
MD5 | f6febc42cd4fba450d39b28873db3430 |
|
BLAKE2b-256 | c5d7d8842a1b8553c4cddb117f672313dedb786ab80f6a8beb25953490595a1f |