From 0b7b9dc21b4d700e33b352844bd82cd795274201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Bozs=C3=B3?= Date: Tue, 12 Feb 2019 19:02:41 +0100 Subject: [PATCH] Some rework of gnuplot.py --- bin/buildpdf.sh | 0 bin/git.py | 0 bin/ytvids.py | 0 gnuplot/__init__.py | 1 + gnuplot/{gnuplot.py => base.py} | 12 +++++++++++- gnuplot/{platforms.py => private.py} | 0 6 files changed, 12 insertions(+), 1 deletion(-) mode change 100755 => 100644 bin/buildpdf.sh mode change 100755 => 100644 bin/git.py mode change 100755 => 100644 bin/ytvids.py create mode 100644 gnuplot/__init__.py rename gnuplot/{gnuplot.py => base.py} (96%) rename gnuplot/{platforms.py => private.py} (100%) diff --git a/bin/buildpdf.sh b/bin/buildpdf.sh old mode 100755 new mode 100644 diff --git a/bin/git.py b/bin/git.py old mode 100755 new mode 100644 diff --git a/bin/ytvids.py b/bin/ytvids.py old mode 100755 new mode 100644 diff --git a/gnuplot/__init__.py b/gnuplot/__init__.py new file mode 100644 index 0000000..9b5ed21 --- /dev/null +++ b/gnuplot/__init__.py @@ -0,0 +1 @@ +from .base import * diff --git a/gnuplot/gnuplot.py b/gnuplot/base.py similarity index 96% rename from gnuplot/gnuplot.py rename to gnuplot/base.py index feb21fa..d5d6fbb 100644 --- a/gnuplot/gnuplot.py +++ b/gnuplot/base.py @@ -24,7 +24,17 @@ from os import fdopen from sys import stderr, platform -import gnuplot.platforms as gp +import gnuplot.private as gp + + +__all__ = ("arrow", "call", "colorbar", "debug", "histo", "label", "labels", + "line", "linedef", "margins", "multiplot", "nicer", "obj", + "output", "palette", "plot", "plot_data", "plot_file", "plot_grid", + "ranges", "referesh", "remove_temps", "replot", "reset", "save", + "set", "silent", "splot", "style", "term", "title", "unset_multi", + "xlabel", "xrange", "xtics", "ylabel", "yrange", "ytics", + "zlabel", "zrange", "ztics") + _session = gp.Session() diff --git a/gnuplot/platforms.py b/gnuplot/private.py similarity index 100% rename from gnuplot/platforms.py rename to gnuplot/private.py