Skip to content
Snippets Groups Projects
Commit 77c5de4a authored by Dima Kogan's avatar Dima Kogan
Browse files

Update upstream source from tag 'upstream/0.37'

Update to upstream version '0.37'
with Debian dir c01fb543b5844093a27198330395329b9cb26bb0
parents d4c2e4ea 3faf7a86
No related branches found
No related tags found
No related merge requests found
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
......
......@@ -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
......
......@@ -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
......
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment