Skip to content

Commit

Permalink
plot dimensions can be floats
Browse files Browse the repository at this point in the history
  • Loading branch information
mgalardini committed Sep 14, 2023
1 parent 1aa7eb1 commit 11bbd36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions panfeed/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ def get_options():
help="Spacing for ticks on x axis (default %(default)d)")

parser.add_argument('--height',
type=int,
default=9,
help="Figure height (inches, default %(default)d)")
type=float,
default=9.,
help="Figure height (inches, default %(default).1f)")

parser.add_argument('--width',
type=int,
default=10,
help="Figure width (inches, default %(default)d)")
type=float,
default=10.,
help="Figure width (inches, default %(default).1f)")

parser.add_argument("-v", action='count',
default=0,
Expand Down

0 comments on commit 11bbd36

Please sign in to comment.