Skip to content

Commit

Permalink
Prepare 0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tomicapretto committed Mar 6, 2022
1 parent 0e4128e commit 9863650
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ docsite/docs/*.ipynb
docsite/docs/usage/*.ipynb
docsite/docs/.ipynb_checkpoints
build/
README.ipynb
README.ipynb

playground/
14 changes: 10 additions & 4 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -14,10 +24,6 @@
* Add `Changelog.md` (#9).
* Improved test coverage (#9).

### Documentation

### Deprecation

### 0.1.0

This is the initial release
Expand Down
3 changes: 2 additions & 1 deletion flexitext/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down
2 changes: 1 addition & 1 deletion flexitext/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = "Tomas Capretto"
__author_email__ = "[email protected]"
__version__ = "0.1.0"
__version__ = "0.2.0"

0 comments on commit 9863650

Please sign in to comment.