Main changes required in existing code is:
1. Change import and Figure creation:
**Before:**
import PyGnuplot as gp
gp.c("plot sin(x))
**Now:**
from PyGnuplot import gp
fig1 = gp() or fig1 = gp(r"path to gnuplot")
fig1.a("plot sin(x))
fig2 = gp()
fig1.a("plot sin(x))
fig2 = gp()
fig1.a("plot sin(x))
...
**A quick workaround for existing code could be:**
from PyGnuplot import gp as gp_class
gp = gp_class()
..
old code here
_except_ **gp.s** needs to be changed into **gp.save**
now can create multiple figures, fit and get responses from gnuplot via the ask comment pi = fig1.a('print pi')
What's Changed
* Fix two typos in example code in README by jcvernaleo in https://github.com/benschneider/PyGnuplot/pull/13
* Experimental by benschneider in https://github.com/benschneider/PyGnuplot/pull/17
New Contributors
* jcvernaleo made their first contribution in https://github.com/benschneider/PyGnuplot/pull/13
* benschneider made their first contribution in https://github.com/benschneider/PyGnuplot/pull/17
**Full Changelog**: https://github.com/benschneider/PyGnuplot/compare/0.11.16...0.12.3