Computer scienceData scienceInstrumentsVisualizationMatplotlib overview

Introduction to matplotlib

Active figure

Report a typo

What will the following code produce?

import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 10)
y = x

fig1 = plt.figure(1)
fig2 = plt.figure(2)

plt.plot(x,y)
Select one option from the list
___

Create a free account to access the full topic