Skip to main content

A Python package for plotting.

Project description

pyglplot

A high-performance OpenGL plotting library for Python. Works in Jupiter notebooks and in standalone Python scripts. Based on the JavaScript library webgl-plot.

Installation

pip install pyglplot

Getting started

import pyglplot as glp
import numpy as np

# Create a Line object
line = glp.Line()
x = np.linspace(0, 10, 100)
y = np.sin(x)

# Add data to the line
line.setXY(x, y)

# Create pyglplot window
win = glp.Pyglplot()

# Add the line to the window
win.addLine(line)

# Show the window
win.show()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyglplot-0.0.3.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

pyglplot-0.0.3-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page