The easiest way to try PyQtGraph

Please check this out before throwing it out. PyQtGraph may not be available in the interpreter.

One line from the command line (or terminal)

Type python -m pyqtgraph.examples to bring up the example launcher on one line from the command line. (It was written in Documentation of README.md of PyQtGraph.)

python -m hoge.hogehoge is a command that runs a module called hoge.hogehoge.py. (Python 2.7.x documentation) Since it is a module name, do not write the extension .py.

What can you do with PyQtGraph?

You can see what you can do ** "what" ** using PyQtGraph by clicking on this launcher from the options and pressing Run example at the bottom left. 20161007-2.png

How can i do it

Not only what you can do, but also ** "how" ** can be displayed on the right side of the launcher. In the right part of the launcher, the python code of the graph using the currently selected PyQtGraph is displayed. This code display is prepared for each of PySide, PyQt4, and PyQt5 (Qt Library type), and can be changed from the Combo box on the right side that says Qt Library.

From the python interpreter

I wrote it in I embedded Matplotlib in a GUI made with Python PySide (Matplotlib version of the previous article). It was. (It's the content of Matplotlib, but after all, it's the content that I like PyQtGraph.)

import pyqtgraph.examples
pyqtgraph.examples.run()

You can do the same, but it will take 3 lines including the start of the interpreter.

Recommended Posts

The easiest way to try PyQtGraph
The fastest way to try EfficientNet
The easiest way to make Flask
The easiest way to get started with Django
The easiest way to synthesize speech with python
The easiest way to use OpenCV with python
The easiest way to set up Last-Modified in Flask
Probably the easiest way to create a pdf with Python3
Try to introduce the theme to Pelican
Cython to try in the shortest
The easiest way to get started in Slack socket mode (Go)
The easiest way to get Chainer v1.5 + CUDA + cuDNN on Windows
Python amateurs try to summarize the list ①
Try to solve the fizzbuzz problem with Keras
The fastest way for beginners to master Python
Try adding fisheye lens distortion to the image
Try to decompose the daimyo procession into Tucker
Try to solve the Python class inheritance problem
Try to solve the man-machine chart with Python
How to try the friends-of-friends algorithm with pyfof
Excel X Python The fastest way to work
Day 66 [Introduction to Kaggle] The easiest Titanic forecast
Try posting to Qiita for the first time
Easy way to check the source of Python modules
[Python] Try to read the cool answer to the FizzBuzz problem
Try setting NETCONF (ncclient) from software to the router
Try to solve the problems / problems of "Matrix Programmer" (Chapter 1)
Try to visualize the room with Raspberry Pi, part 1
Try to solve the internship assignment problem with Python
Molecular dynamics simulation to try for the time being
Save the graph drawn by pyqtgraph to an image
Try to estimate the number of likes on Twitter
Try to get the contents of Word with Golang
Try to implement yolact
[Neo4J] ④ Try to handle the graph structure with Cypher
The road to Pythonista
Try to decipher the login data stored in Firefox
The easiest line bot in the world to lose weight
Try to specify the axis with PyTorch's Softmax function
Try to get the function list of Python> os package
Try to evaluate the performance of machine learning / regression model
Try to play with the uprobe that supports Systemtap directly
Try connecting to Supervisord via XMLRPC to start / stop the program
[Selenium/Python] Try to display the court case pdf at once
[pyqtgraph] Add region to the graph and link it with the graph region
Try to evaluate the performance of machine learning / classification model
How to deploy the easiest python textbook pybot on Heroku
Try to improve the accuracy of Twitter like number estimation
Try to solve the problems / problems of "Matrix Programmer" (Chapter 0 Functions)
Try to automate the operation of network devices with Python
Try to extract the keywords that are popular in COTOHA
The usual way to add a Kernel with Jupyter Notebook
Try to model a multimodal distribution using the EM algorithm
[Introduction to Reinforcement Learning] Reinforcement learning to try moving for the time being
Try to decipher the garbled attachment file name with Python
Try to extract the features of the sensor data with CNN
Try to factorial with recursion
Try to analyze Twitter trends
How to use the generator
Try to understand Python self
The road to download Matplotlib