Skip to content

Overview

PyConsole supports visualization with matplotlib

Usage

Steps

  1. import matplotlib
python
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 10, 100)
y = np.sin(x)
  1. make a plot
python
plt.plot(x, y)
  1. show the plot with plt.show
python
plt.show()