overbrowsing / pruner

✂️ A plugin to stitch multiple images into a single canvas.
http://overbrowsing.com/pruner/
MIT License
0 stars 0 forks source link

Visualisations: Wrap Code in Functions #1

Open printerscanner opened 1 day ago

printerscanner commented 1 day ago

Description: We should encapsulate the visualisation plotting code inside functions to improve structure and readability. This will make it more modular and easier to maintain. A suggested format is:

def plot_graph():
    # All the plotting code here

if __name__ == '__main__':
    plot_graph()

Link to code

headlesshorse commented 1 day ago

I agree—we should encapsulate the visualisation plotting code in functions to improve structure, readability, and maintainability.