-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync main and plate_reader branches at plate_reader.py
- Loading branch information
Showing
1 changed file
with
1 addition
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1 @@ | ||
"""Provide the primary functions.""" | ||
|
||
|
||
def canvas(with_attribution=True): | ||
""" | ||
Placeholder function to show example docstring (NumPy format). | ||
Replace this function and doc string for your own project. | ||
Parameters | ||
---------- | ||
with_attribution : bool, Optional, default: True | ||
Set whether or not to display who the quote is from. | ||
Returns | ||
------- | ||
quote : str | ||
Compiled string including quote and optional attribution. | ||
""" | ||
|
||
quote = "The code is but a canvas to our imagination." | ||
if with_attribution: | ||
quote += "\n\t- Adapted from Henry David Thoreau" | ||
return quote | ||
|
||
|
||
if __name__ == "__main__": | ||
# Do something if this file is invoked on its own | ||
print(canvas()) | ||
"""Comment.""" |