diff --git a/python.py b/python.py index 7403fdb..e433cfc 100644 --- a/python.py +++ b/python.py @@ -2,22 +2,14 @@ import numpy as np import matplotlib.pyplot as plt import seaborn as sns -x = np.linspace(0, 10, 50) -y1 = np.power(x,2) -y2 = np.power(x,3) -plt.plot (x,y1) -plt.plot (x,y2) - -plt.xlim((1,5)) -plt.ylim((0,30)) -plt.tight_layout() -plt.xlabel('x') -plt.ylabel('y') - plt.title('ChatGpt seine Lernkurve') -plt.legend() +a = np.random.random((100,100)) +plt.imshow(a) +plt.hot() + +plt.colorbar() plt.show() \ No newline at end of file