Skip to content

Commit

Permalink
tight layout (#3)
Browse files Browse the repository at this point in the history
* tight

* fix conflicts
  • Loading branch information
giocaizzi authored Apr 23, 2024
1 parent 0cbc452 commit 041e3a3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 53 deletions.
70 changes: 18 additions & 52 deletions bitcoin.ipynb

Large diffs are not rendered by default.

Binary file modified bitcoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions btc_cycles/artist/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,5 +206,9 @@ def plot(self):
color="darkgrey",
)

# necessary althought the warning
# otherwise a savefig on the fig would cut
self.f.tight_layout()

# return figure
return self.f
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "btc-cycles"
version = "0.2.0"
version = "0.2.1"
description = "Track Bitcoin price over halving cycles"
authors = ["giocaizzi <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 041e3a3

Please sign in to comment.