From 9863650b662bef6dd63222f0b9bade2e72f4d762 Mon Sep 17 00:00:00 2001 From: Tomas Capretto Date: Sun, 6 Mar 2022 17:47:15 -0300 Subject: [PATCH] Prepare 0.2.0 release --- .gitignore | 4 +++- Changelog.md | 14 ++++++++++---- flexitext/style.py | 3 ++- flexitext/version.py | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 654ecc3..5746227 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,6 @@ docsite/docs/*.ipynb docsite/docs/usage/*.ipynb docsite/docs/.ipynb_checkpoints build/ -README.ipynb \ No newline at end of file +README.ipynb + +playground/ \ No newline at end of file diff --git a/Changelog.md b/Changelog.md index d38a004..b4335f5 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,16 @@ ### New features +### Maintenance and fixes + +### Documentation + +### Deprecation + +### 0.2.0 + +### New features + * Add `mva` argument to `flexitext()` which controls the vertical alignment of individual texts within the outer text box (5da272172874fc89e54c4bf112a237dadb37062a). ### Maintenance and fixes @@ -14,10 +24,6 @@ * Add `Changelog.md` (#9). * Improved test coverage (#9). -### Documentation - -### Deprecation - ### 0.1.0 This is the initial release diff --git a/flexitext/style.py b/flexitext/style.py index b6a8630..2add60f 100644 --- a/flexitext/style.py +++ b/flexitext/style.py @@ -50,7 +50,8 @@ def backgroundcolor(self): def backgroundcolor(self, value): self._backgroundcolor = None if value: - self.bbox = {"pad": 0.5, "lw": 0, "fc": value} + # NOTE: These could be configurable in the future + self.bbox = {"pad": 0, "lw": 0, "fc": value} def __eq__(self, other): if not isinstance(other, type(self)): diff --git a/flexitext/version.py b/flexitext/version.py index 2f3bec0..5011efb 100644 --- a/flexitext/version.py +++ b/flexitext/version.py @@ -2,4 +2,4 @@ __author__ = "Tomas Capretto" __author_email__ = "tomicapretto@gmail.com" -__version__ = "0.1.0" +__version__ = "0.2.0"