Skip to content

Commit

Permalink
Fixed spacing in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
slightlynybbled committed Jun 11, 2018
1 parent f5f887e commit c2af77e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions tk_tools/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,26 +1161,26 @@ def set_value(self, value: str):

class SevenSegmentDigits(tk.Frame):
"""
Creates a single seven-segment display which may be
used to emulate a numeric display of old::
Creates a single seven-segment display which may be
used to emulate a numeric display of old::
# create and grid the frame
ss = tk_tools.SevenSegment(root)
ss.grid()
# create and grid the frame
ss = tk_tools.SevenSegment(root)
ss.grid()
# set the value
ss.set_value(2)
# set the value
ss.set_value(2)
# set the value with a period
ss.set_value(6.0)
# set the value with a period
ss.set_value(6.0)
:param parent: the tk parent frame
:param height: the widget height (defaults to 50)
:param digit_color: the digit color (tkinter color
specifications apply, such as 'black' or '#ff0000')
:param background: the background color (tkinter color
specifications apply, such as 'black' or '#ff0000')
"""
:param parent: the tk parent frame
:param height: the widget height (defaults to 50)
:param digit_color: the digit color (tkinter color
specifications apply, such as 'black' or '#ff0000')
:param background: the background color (tkinter color
specifications apply, such as 'black' or '#ff0000')
"""
def __init__(self, parent, digits=1, height=50,
digit_color='black', background='white'):
self._parent = parent
Expand Down

0 comments on commit c2af77e

Please sign in to comment.