Skip to content

Commit 38855bd

Browse files
authored
🔀 Merge pull request #16 from davep/zoom-float
Change `--zoom` so that it can accept a `float`
2 parents 741bc2b + 2b8c011 commit 38855bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
- Added a couple more colour options.
88
([#9](https://github.com/davep/complexitty/pull/9))
9+
- Fixed the `--zoom` command line switch so that it accepts floating point
10+
values. ([#11](https://github.com/davep/complexitty/issues/11))
911

1012
## v0.2.0
1113

src/complexitty/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_args() -> Namespace:
100100
"-z",
101101
"--zoom",
102102
help="Set the zoom level",
103-
type=int,
103+
type=float,
104104
)
105105

106106
# Add --theme

0 commit comments

Comments
 (0)