share in .gitignore
This commit is contained in:
@@ -25,5 +25,8 @@ CC-BY-SA Olli Graf
|
||||
|18 | Generatoren und list comprehension|
|
||||
|19 | Webseiten (Flask)|
|
||||
|20 | virtuelle Umgebungen|
|
||||
|21 | Interrupts & Signale|
|
||||
|22 | Numpy|
|
||||
|21 | Matplotlib|
|
||||
|23 | Pandas|
|
||||
|
||||
|
||||
|
5
teil23/.gitignore
vendored
Normal file
5
teil23/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# created by virtualenv automatically
|
||||
__pycache__
|
||||
bin
|
||||
lib
|
||||
share
|
8
teil23/pyvenv.cfg
Normal file
8
teil23/pyvenv.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
home = /usr/bin
|
||||
implementation = CPython
|
||||
version_info = 3.11.2.final.0
|
||||
virtualenv = 20.17.1+ds
|
||||
include-system-site-packages = false
|
||||
base-prefix = /usr
|
||||
base-exec-prefix = /usr
|
||||
base-executable = /usr/bin/python3
|
24
teil23/test.py
Normal file
24
teil23/test.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# encoding: utf-8
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
# Koordinaten
|
||||
x = np.arange(5, 10)
|
||||
y = np.arange(12, 17)
|
||||
|
||||
print(f'x={x}')
|
||||
print(f'y={y}')
|
||||
|
||||
# Plot
|
||||
plt.plot(x,y)
|
||||
|
||||
# Titel hinzufügen
|
||||
plt.title("Matplotlib PLot NumPy Array")
|
||||
|
||||
# Beschriftung für die Achsen
|
||||
|
||||
plt.xlabel("x Achse")
|
||||
plt.ylabel("y Achse")
|
||||
|
||||
# Fenster anzeigen
|
||||
plt.show()
|
Reference in New Issue
Block a user