Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about vispy

Read more about vispy

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - vispy

How to use Vispy to draw different types of line by different times?

I want to draw different types of lines, such as, white lane, yellow lane, white long lane and so on, but when I call visual.Line() eachtime, it can only keep the last draw-event , just only one type ...
test-img

Leslie Liu

plot

line

draw

vispy

Votes: 0

Answers: 1

Latest Answer

You mean this example, right? https://vispy.org/gallery/scene/line.html In that original example code, this is how the lines are created: lines = [] print('Generating points...') for i in range(20): ...
test-img

djhoese

How to have a Vispy.app.Canvas running directly in Vispy.app AND as a QWidget inside a QMainWindow

I would like to know how I can make the self.show() instruction at the end of my Vispy.app.Canvas init() dependant on the fact the canvas is basically run in a Vispy app or as a QWidget in a QMainWind...
test-img

GregVDS

python-3.x

canvas

qwidget

qmainwindow

vispy

Votes: 0

Answers: 1

Latest Answer

You don't need to have the self.show() in the __init__ method of the class. You could call it from the module that is using it, after the Canvas is created: canvas = Canvas(...) canvas.show() That wa...
test-img

djhoese

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved