diff --git a/.media/demo_001.gif b/.media/demo_001.gif index 2d4704a..54bfbda 100644 Binary files a/.media/demo_001.gif and b/.media/demo_001.gif differ diff --git a/.media/logo.png b/.media/logo.png new file mode 100644 index 0000000..93eb34a Binary files /dev/null and b/.media/logo.png differ diff --git a/.media/logo.svg b/.media/logo.svg new file mode 100644 index 0000000..c2d3550 --- /dev/null +++ b/.media/logo.svg @@ -0,0 +1,370 @@ + + + + + + + + 2024-05-30T18:26:09.198138 + image/svg+xml + + + Matplotlib v3.8.2, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vector.py b/vector.py new file mode 100644 index 0000000..6471f0a --- /dev/null +++ b/vector.py @@ -0,0 +1,23 @@ +import matplotlib.pyplot as plt + +# Create a new figure +fig, ax = plt.subplots(figsize=(6, 6)) + +# Hide the axes +ax.axis('off') + +# Add the text and symbols from the display +# Temperature +ax.text(0.5, 0.75, '25.8', fontsize=120, ha='center', va='center', fontweight='bold') +# Degree Celsius symbol +ax.text(0.85, 0.75, '°C', fontsize=60, ha='center', va='center', fontweight='bold') +# Humidity +ax.text(0.5, 0.5, '36%', fontsize=120, ha='center', va='center', fontweight='bold') +# Face symbol +ax.text(0.5, 0.25, '( ^_^ )', fontsize=80, ha='center', va='center', fontweight='bold') +# Save as a vector graphic +plt.savefig('display_vector_graphic_with_space.png', format='png') + +# Show the plot +plt.show() +