Skip to content

Instantly share code, notes, and snippets.

@busycalibrating
busycalibrating / app.py
Created October 7, 2020 00:02
Dash plot.ly sending numpy with ZMQ pub/sub pyobj (Python 3)
# Largely a copy of the great gist by Danny Price (https://github.com/telegraphic)
# Minimal modifications to make the example work with Python 3, and to send
# python objects instead of using the msgpack library.
#
# Original gist can be found here:
# https://gist.github.com/telegraphic/2709b7e6edc3a0c39ed9b75452da205
"""
# app.py - example Dash + ZMQ + msgpack + numpy monitor
This app receives data from zmq_pub.py, and plots it.