Skip to content

Commit

Permalink
doc : Set Default section updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Sep 24, 2018
1 parent dbbcf96 commit 0eeda6f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,21 @@ ___ ____ ____ ___
`set_default` function is added in `Version 2.2` in order to change default values.

<pre>
>>> help(set_default)
Help on function set_default in module art.art:

set_default(font='standard', chr_ignore=True, filename='art', print_status=True)
This fuction change text2art tprint and tsave default values
:param font: input font
:type font:str
:param chr_ignore: ignore not supported character
:type chr_ignore:bool
:param filename: output file name (only tsave)
:type filename:str
:param print_status : Save message print flag (only tsave)
:type print_status:bool
:return: None

>>> tprint("test")
_ _
| |_ ___ ___ | |_
Expand All @@ -326,7 +341,7 @@ ___ ____ ____ ___
\__| \___||___/ \__|


>>> set_default("italic")
>>> set_default(font="italic")
>>> tprint("test")

_/ _ _ _/
Expand Down

0 comments on commit 0eeda6f

Please sign in to comment.