Skip to content

Commit 8200327

Browse files
dizczaJackUrb
authored andcommitted
updated scatter and line doc
1 parent 4041c2e commit 8200327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/visdom/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ def scatter(self, X, Y=None, win=None, env=None, opts=None, update=None,
14691469
- `opts.markerborderwidth`: marker border line width (`float`; default = 0.5)
14701470
- `opts.dash` : dash type (`np.array`; default = 'solid'`)
14711471
- `opts.textlabels` : text label for each point (`list`: default = `None`)
1472-
- `opts.legend` : `list` containing legend names
1472+
- `opts.legend` : `list` or `tuple` containing legend names
14731473
"""
14741474
if update == 'remove':
14751475
assert win is not None
@@ -1670,7 +1670,7 @@ def line(self, Y, X=None, win=None, env=None, opts=None, update=None,
16701670
- `opts.markersize` : marker size (`number`; default = `'10'`)
16711671
- `opts.linecolor` : line colors (`np.array`; default = None)
16721672
- `opts.dash` : line dash type (`np.array`; default = None)
1673-
- `opts.legend` : `list` containing legend names
1673+
- `opts.legend` : `list` or `tuple` containing legend names
16741674
16751675
If `update` is specified, the figure will be updated without
16761676
creating a new plot -- this can be used for efficient updating.

0 commit comments

Comments
 (0)