Skip to content

Requirements Library: Create python_plotting_requirements() factory function #1122

@akihikokuroda

Description

@akihikokuroda

Implement the python_plotting_requirements() factory function that bundles python_tool_requirements() with matplotlib-specific requirements.

Implementation

  • Create in mellea/stdlib/requirements/plotting/matplotlib.py
  • Accept output_path and allowed_imports parameters

Tests & Documentation

  • Comprehensive docstring with Args, Returns, Raises, Examples sections
  • Test factory returns correct bundled requirements
  • Test parameter propagation and edge cases

Part of #1023

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions