File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ def _image_directories(func):
482482 doesn't exist.
483483 """
484484 module_path = Path (sys .modules [func .__module__ ].__file__ )
485- baseline_dir = module_path .parent / "baseline_images " / module_path .stem
485+ baseline_dir = module_path .parent . parent . parent . parent / "sub-wheels" / "matplotlib-baseline-images" / "mpl_baseline_images " / module_path .stem
486486 result_dir = Path ().resolve () / "result_images" / module_path .stem
487487 result_dir .mkdir (parents = True , exist_ok = True )
488488 return baseline_dir , result_dir
Original file line number Diff line number Diff line change 3838# these two places.
3939
4040BASELINE_IMAGES = [
41- Path ('sub-wheels/matplotlib-baseline-images/baseline_images ' ),
42- Path ('lib/mpl_toolkits/tests/baseline_images ' ),
41+ Path ('sub-wheels/matplotlib-baseline-images/mpl_baseline_images ' ),
42+ Path ('sub-wheels/matplotlib-baseline-images/mpl_toolkits_baseline_images ' ),
4343]
4444
4545
You can’t perform that action at this time.
0 commit comments