Skip to main content

A simple live plotter via socket.

Project description

socket-plotter

Instant plotter based on pyqtgraph via socket communication.

PyPI version License: MIT

Installation

  1. install PySide2 manually
    • pip install PySide2 or conda install -c conda-forge pyside2
  2. pip install socket-plotter

Usage

from socket_plotter import plot_lines, plot_image, plot_image_and_lines
import numpy as np

# for line plot
xdata = np.arange(100)
ydata = np.random.randn(100)
plot_lines(xdata, ydata)

# for image plot
img = np.random.randn(100, 100)
plot_image(img)

# for both, the image and each row of the image are displayed.
img = np.random.randn(100, 100)
plot_image_and_lines(img)

screenshots

plot lines

plot image

dependency

  • PySide2
  • pyqtgraph
  • numpy

Change log

[0.1.1]

  • removed PySide2 from install_requires to avoid automatic installation by package managers for compatibility for pip and anaconda environments

[0.1.0]

  • released

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

socket-plotter-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

socket_plotter-0.1.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file socket-plotter-0.1.1.tar.gz.

File metadata

  • Download URL: socket-plotter-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for socket-plotter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f174666409b9ee5ec10564d94f137f24f374e62eaeef7eb46311ef2c2fa8c48e
MD5 4d84c199b103f01e62dd2b056458df1e
BLAKE2b-256 c572060073312129f50c36d7e607470ee8bc4ac468334e5b9e632357e6144b36

See more details on using hashes here.

File details

Details for the file socket_plotter-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for socket_plotter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1450063a0b056349e1de602d08b00c75c358a9c8c5adcf76dcc1cc7d69676cdb
MD5 78bf6c86cd99a53d3da980d81ddfdf26
BLAKE2b-256 008d0802789efedc9571d8e18e8dbade3e09ad6464555032d226862f10eca407

See more details on using hashes here.

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