Skip to content

Add figure tests for plotting functions #4885

@medha-14

Description

@medha-14

Currently, PyBaMM lacks automated figure tests to verify the correctness of plots generated by QuickPlot or other plotting functions. This can lead to unintended changes in the plots and make it difficult to verify whether modifications to these functions are correctly implemented. Adding figure-based tests using
pytest-mpl or a similar approach will help detect unintended changes in plot outputs.

Metadata

Metadata

Assignees

Labels

difficulty: mediumWill take a few daysplottingRelated to pybamm.QuickPlot and surrounding functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions