question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I want to use line’s update=append parameter, like:

import visdom
import numpy as np

viz = visdom.Visdom()

win = viz.line(
    X=np.column_stack((np.arange(0, 10), np.arange(0, 10))),
    Y=np.column_stack((np.linspace(5, 10, 10), np.linspace(5, 10, 10) + 5))
)

viz.line(
    X=np.column_stack((np.arange(10, 20), np.arange(10, 20))),
    Y=np.column_stack((np.linspace(5, 10, 10), np.linspace(5, 10, 10) + 5)),
    win=win,
    update='append'
)

But second line do not showing. screenshot from 2018-01-01 10 48 01

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lvdmaatencommented, Jan 3, 2018

The demo uses features that are not yet in the pip-version of visdom. Please install visdom from source if you need these features. See the relevant question here for details.

0reactions
JackUrbcommented, Jan 4, 2018

@QinZiwen try following the instructions on the main README for installing from source. Not all features in the demo have been put into the pip version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to append text or lines to a file in python? - thisPointer
Append data to a file as a new line in Python · Open the file in append mode ('a'). Write cursor points to...
Read more >
How to append new data onto a new line - python
If you want a newline, you have to write one explicitly. The usual way is like this: hs.write(name + "\n"). This uses a...
Read more >
Append Line | Microsoft Learn
The Append Line activity appends a line of text into a text file. Use the Append Line activity to append lines to a...
Read more >
Appending a single line of text to a file (echo command) - IBM
Use the echo command, used with the append redirection operator, to add a single line of text to a file. For example, at...
Read more >
Append Lines to a File in Linux - Baeldung
In this tutorial, we're going to explore several ways to append one or more lines to a file in Linux using Bash commands....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found