Skip to content

Commit

Permalink
filxed help text
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceMaverick committed Feb 3, 2017
1 parent f01683a commit 7a410c4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions beards/teleplot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ def format_msg(msg):

class TelePlotSB(BeardChatHandler):
__userhelp__ = """
The following commands are available:
Makes plots with the /teleplot command. e.g:
From two arrays: /teleplot [x1,x2,..,xN] [y1,y2,..,yN]
From an expression: /teleplot (x**2+2*x+3)
Additional options: -xaxis "label", -yaxis "label"
Currently only index, add, subtract, divide, multiply
available for equation notation."
"""

__commands__ = [
("teleplot", "makePlot", "Make plot from two arrays.\n`\\teleplot [x1,x2,..,xN] [y1,y2,..,yN]`\n`\\teleplot (x**2+2*x+3)`\nAdditional options: `-xaxis \"label\"`, `-yaxis \"label\"`\n Currently only index, add, subtract, divide, multiply available for equation notation."),
("teleplot", "makePlot", "make a plot." ),
]

@onerror
Expand Down

0 comments on commit 7a410c4

Please sign in to comment.