Skip to content

Commit ee00003

Browse files
committed
Bump version to 0.2.0
1 parent bfc7a75 commit ee00003

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pycallisto/fitshelpers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def savefigure(fitsfile: ECallistoFitsFile, fig: figure.Figure, ext: str) -> str
4949
# and add the new file extension
5050
filename = ".".join([pathlib.PurePath(fitsfile.filepath).stem.split(".")[0], ext])
5151

52-
fig.savefig(filename, bbox_inches="tight") # TODO Check meaning of bbox_inches
52+
# Use tight bbox_inches to remove whitespace around the image
53+
fig.savefig(filename, bbox_inches="tight")
5354

5455
return filename
5556

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
url="https=//github.com/andrekorol/pycallisto",
1212
download_url="https=//github.com/andrekorol/pycallisto/archive/master.zip",
1313
author_email="[email protected]",
14-
version="0.1.0",
14+
version="0.2.0",
1515
install_requires=["numpy", "astropy", "matplotlib"],
1616
packages=["pycallisto"],
1717
package_data={"pycallisto": ["languages.json"]},

0 commit comments

Comments
 (0)