r/PythonProjects2 • • 5h ago

Complete Matplotlib Library Graphing Tutorial using Python in under 1 Hour

Thumbnail youtube.com
3 Upvotes

I made this Python Matplotlib Plotting tutorial for beginners.

Source codes can be downloaded from the link below

The tutorial is designed for beginners who want to learn Matplotlib for building Data Acquisition and Data Logging applications using Arduino, Raspberry Pi, and other embedded systems. Learn how to create a Line Graph using Python and Matplotlib for visualizing data coming from an Arduino, Raspberry Pi, or other Embedded Systems.

Things Covered in This Video

  • Installing Matplotlib
  • Understanding the main concepts like Figure,Axes behind Matplotlib
  • Creating a simple Line Chart using Matplotlib
  • Understanding and using the subplots() method
  • Using the .plot() method to plot graphs
  • Changing graph line thickness and line style
  • Controlling marker shape and marker size
  • Naming the plot and creating a Legend
  • Setting the names of the X and Y axis
  • Setting Gridline color and visibility
  • Changing the properties of a single Gridline
  • Controlling Ticks in Matplotlib
  • Understanding how Matplotlib chooses Ticks
  • Working with Major and Minor Ticks

By the end of this tutorial, you will have a better understanding of how Matplotlib works and how its different components can be used to create customized line graphs.


r/PythonProjects2 • • 10h ago

Info Update on ViCalc (Open-Source Touch-Typing Calculator): Quick demo video of complex formula input

Thumbnail youtube.com
2 Upvotes

r/PythonProjects2 • • 12h ago

Resource Python Mutability and Copying

Post image
2 Upvotes

r/PythonProjects2 • • 1h ago

Searching for tg/ds groups

Thumbnail
• Upvotes

r/PythonProjects2 • • 18h ago

A multiplayer TRON game in Python with a custom TCP server and 2D/3D clients (GPLv3)

1 Upvotes

A while ago, I developed a small multiplayer TRON-style lightcycle game in Python as a demo and potential student project for one of my university courses.

Rather than using an existing game networking framework, I implemented the client-server architecture myself, including:

  • A custom TCP server with a simple text-based protocol
  • Server-side game state management and collision detection
  • A 2D client showing the arena from above, much like the spectators in the original TRON movie
  • A 3D OpenGL client showing the game from the rider's perspective, including a minimap and views looking 90 degrees left and right

Both clients connect to the same server and can compete against each other.

The project was written the old-school way, without AI assistance. :)

I haven't had much time over the past year to polish it into a fully end-user-friendly application, but it's already quite fun to play.

I've now updated the README with screenshots and some details about the architecture and network protocol, and released the code under GPLv3.

Perhaps someone will find it interesting, want to experiment with it, or even use it as inspiration for a student project.

GitHub: https://github.com/michael-lehn/tron

Feedback and contributions are welcome!