Questions tagged [vispy]

Vispy is a high-performance interactive 2D/3D data visualization library. Vispy uses the OpenGL library to access the power of modern GPUs to display very large datasets.

Vispy is a high-performance interactive 2D/3D data visualization library. Vispy uses the OpenGL library to access the computational power of modern Graphics Processing Units (GPUs) to display very large datasets. Vispy can be used for:

  • High-quality interactive scientific plots with millions of points.
  • Direct visualization of real-time data.
  • Fast interactive visualization of 3D models (meshes, volume rendering).
  • OpenGL visualization demos.
  • Scientific GUIs with fast, scalable visualization widgets (Qt or IPython notebook with WebGL).

References:

132 questions
3
votes
0 answers

Plotting lines connecting points in VisPy

I am a new user in VisPy and trying to start from simple example (modified from the tutorial). A code below plots nodes on canvas. 1. How can I plot circles instead of points? 2. How can I connect these nodes by lines (randomly or nearest neighbors…
IgorPy
  • 63
  • 7
3
votes
0 answers

Fast heatmap updating with Python Qt

I've been looking for a while for a means of fast plotting of large heatmap in a python based UI. In the past, I have used the backends available for matplotlib ' contourf, pcolor, and pcolormesh. I have not used imshow as my typical data lies on…
johnnymopo
  • 158
  • 9
3
votes
1 answer

Displaying an image in the face of rotating cube in VisPy

I have played with this example of VisPy to show a rotating cube. Is there a way to load an image (e.g. a png) and display it as one of the faces of the cube?
Hernan
  • 5,811
  • 10
  • 51
  • 86
3
votes
1 answer

efficiently plot large data sets with pyqtgraph

I'm trying to generate a matrix of scatter plots and histograms with pyqtgraph. The input (x and y values) for each scatter plot are numpy arrays of length greater than 1,000,000. It takes a very long time (>1 min for 2x2 plot matrix) for these…
user3520133
  • 33
  • 1
  • 4
2
votes
1 answer

Vispy and PyQt5 fullscreen resize event problem

I have a line viewer made in PyQt5; I managed to make a vispy scene as the viewport for the QGrapichsView. I have made it zoom and pan capable. Problem The viewer works very fast but the problem comes when I try to manually (push the fullscreen…
MBV
  • 591
  • 3
  • 17
2
votes
1 answer

Plot 1d histogram data using vispy

First, I tried plotting histogram using visuals.HistogramVisual, I am getting some weird window. Here is the code : from vispy import app, visuals import numpy as np import sys import time from PyQt5.QtWidgets import * class…
iamniki
  • 553
  • 3
  • 11
2
votes
0 answers

Drawing Dynamic Spectrogram in real time

I essentially have three data points in three separate numpy array and I want to plot the time along the x-axis, the frequency along the y-axis and the magnitude should represent the colors. But this is all happening in real time so it should look…
lionheart
  • 333
  • 2
  • 11
2
votes
1 answer

animating image stack with vispy

I'm trying to migrate from MATLAB to Python and one of the things I frequently rely on during development in Matlab is the ability to rapidly visualize slices of a datacube by looping through layers and calling drawnow, e.g. tst =…
T.Wong
  • 21
  • 1
2
votes
1 answer

Trying to rotate a quad in 3d using Vispy

I am trying to rotate a textured quad in 3d using Vispy, but I can't seem to work it out. The code isn't producing any particular errors, but it's not rotating at all. I am new to Vispy, maybe I am missing some vital components in my code. Maybe…
Anay Bose
  • 880
  • 1
  • 14
  • 24
2
votes
1 answer

vispy: two data sets on same plot with colors

I have two 3d numpy arrays, and am trying to plot them in two distinct colors via a vispy 3d scatter. I am already familiar with how you set data via scatter on vispy: scatter.set_data(data) where data is in the form of a numpy array. However, I…
pyhat
  • 155
  • 1
  • 1
  • 7
2
votes
0 answers

Linking against XCode dylibs with Python ctypes

I am installing Pyglet as a dependency for VisPy but am seeing the following error after installation File "/Library/Python/2.7/site-packages/pyglet/lib.py", line 160, in load_library raise ImportError('Library "%s" not found.' %…
2
votes
0 answers

Conflict installing Vispy with Python 3.5 in Anaconda3

conda install -c anaconda vispy=0.4.0.106.gf8a69d0 was recommended by Anaconda, but gave conflict on my Python 3.5 because current Vispy package supports only Python 2.6, 2.7, 3.3 and 3.4. Just trying Vispy as a newbie learner. Should I... Be…
Richard
  • 41
  • 4
2
votes
0 answers

vispy set the line width of the mesh in a scene.sphere?

How do you set the line width of the mesh of a vispy.scene.visuals.Sphere? If I add a vispy.scene.Line with a width, it affects the mesh of the previously added sphere as well. Somehow there seems to be a missing call to vispy.gloo.set_line_width in…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
2
votes
1 answer

Plotting 3d Implicit equation with vispy

Due to server GPU limitations we cannot use K to render implicit equations on the VPS, here's an example code we use to produce 3D models from equations in mayavi: import numpy as np from mayavi import mlab mlab.clf() x, y, z =…
Pouya
  • 159
  • 1
  • 6
2
votes
1 answer

How can one use glumpy or vispy from kivy?

I am a fan of glumpy (or the related vispy), a python framework for scientific visualization. Unfortunately it does not have much in the way of user-interface (buttons etc.) I am also a fan of kivy and how it handles user interface elements. Both…
weemattisnot
  • 889
  • 5
  • 16
1
2
3
8 9