Skip to content

Conversation

sayalaruano
Copy link
Collaborator

Summary

Create a factory function to abstract the steps required to generate plots in the user-facing functions. In this way, we avoid writing redundant code in every plot file.

List of changes proposed in this PR (pull-request)

  • Created vuecore/plots/plot_factory.py function
  • Added vuecore/plots/__init__.py and vuecore/plots/basic/__init__.py to register functions and limit wat is imported with *
  • Refactoredvuecore/plots/basic/bar.py, vuecore/plots/basic/box, vuecore/plots/basic/line, and vuecore/plots/basic/scatter user-facing functions

@sayalaruano sayalaruano requested a review from enryH September 10, 2025 16:39
@sayalaruano sayalaruano changed the title Factory function for user-facing plot functions ✨Factory function for user-facing plot functions Sep 11, 2025
@sayalaruano sayalaruano merged commit fd0c619 into main Sep 12, 2025
7 checks passed
@sayalaruano sayalaruano deleted the fact_func_plots branch September 12, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant