diff --git a/Changes b/Changes index c5a1a9d50457fe43ddd5101afd2738cec8e44378..aa65afe7223d848a5ae5090e8f025423d20e9aab 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +gnuplotlib (0.37) unstable; urgency=medium + + * Updated default hardcopy settings + + -- Dima Kogan <dkogan@debian.org> Wed, 03 Feb 2021 14:31:33 -0800 + gnuplotlib (0.36) unstable; urgency=medium * add_plot_option() API change: takes single options as scalars and diff --git a/Makefile b/Makefile index 7ae17e9aa2bdbb357a4e3f38081026ce4ffe5de6..1ecb5226cb59a85521f0a53772e78105957b1200 100644 --- a/Makefile +++ b/Makefile @@ -5,16 +5,26 @@ all: README README.org %EADME %EADME.org: gnuplotlib.py README.footer.org extract_README.py python3 extract_README.py gnuplotlib +DIST_VERSION := $(or $(shell < gnuplotlib.py perl -ne "if(/__version__ = '(.*)'/) { print \$$1; exit}"), $(error "Couldn't parse the distribution version")) + +DIST := dist/gnuplotlib-$(DIST_VERSION).tar.gz +$(DIST): README + # make distribution tarball -dist: +$(DIST): python3 setup.py sdist +.PHONY: $(DIST) # rebuild it unconditionally + +dist: $(DIST) .PHONY: dist + # make and upload the distribution tarball -dist_upload: - python3 setup.py sdist upload +dist_upload: $(DIST) + twine upload --verbose $(DIST) .PHONY: dist_upload + clean: rm -f README.org README .PHONY: clean diff --git a/README.org b/README.org index 04f0defb04642b788414f2894510360020afb265..ae316118bdcc6ef653a877152cdd0f24e649c3c4 100644 --- a/README.org +++ b/README.org @@ -1371,7 +1371,8 @@ THIS function takes care of the _ in keys. And this function knows which keys support multiple values. If a duplicate is given, it will either raise an exception, or append to the existing list, as appropriate. -Multiple values can be given in one call. +If the given key supports multiple values, they can be given in a single +call, as a list or a tuple. * COMPATIBILITY diff --git a/gnuplotlib.py b/gnuplotlib.py index 552b13d9b96b448b535fefd30c6989e087b383ca..c9ee7e7f2f3197aef75309c4e828776cf669b8f1 100755 --- a/gnuplotlib.py +++ b/gnuplotlib.py @@ -1092,7 +1092,7 @@ import numpy as np import numpysane as nps # setup.py assumes the version is a simple string in '' quotes -__version__ = '0.36' +__version__ = '0.37' # In a multiplot, the "process" options apply to the larger plot containing all # the subplots, and the "subplot" options apply to each invididual plot. @@ -1284,10 +1284,10 @@ def _massageProcessOptionsAndGetCmds(processOptions): outputfileType = m.group(1) terminalOpts = { 'eps': 'postscript noenhanced solid color eps', - 'ps': 'postscript noenhanced solid color landscape 10', - 'pdf': 'pdf noenhanced solid color font ",10" size 11in,8.5in', - 'png': 'png noenhanced size 1280,1024', - 'svg': 'svg noenhanced solid dynamic fontscale 0.5', + 'ps': 'postscript noenhanced solid color landscape 12', + 'pdf': 'pdfcairo noenhanced solid color font ",12" size 8in,6in', + 'png': 'pngcairo noenhanced size 1024,768 transparent crop font ",12"', + 'svg': 'svg noenhanced solid dynamic size 800,600 font ",14"', 'gp': 'gp'} processOptions['terminal'] = terminalOpts[outputfileType]