Skip to content

[MNT] Make "plotting" features optional - #130

Open
amotl wants to merge 13 commits into
mainfrom
plotting-optional
Open

[MNT] Make "plotting" features optional#130
amotl wants to merge 13 commits into
mainfrom
plotting-optional

Conversation

@amotl

@amotl amotl commented Sep 4, 2026

Copy link
Copy Markdown
Member

About

Break out all packages concerned about plotting into a dedicated dependency group.

Goal

Reduce the number of baseline dependency packages.

Details

Extract relevant packages into the plots package extra. Users choosing the full extra will not notice any difference, because it includes the plots extra from the start.

@amotl
amotl force-pushed the plotting-optional branch 3 times, most recently from 2cc0162 to b93b900 Compare September 5, 2026 11:04
@amotl
amotl requested a review from WilliamJudge94 September 5, 2026 12:34
@amotl
amotl marked this pull request as ready for review September 5, 2026 12:37
@amotl amotl changed the title [MNT] Extract "plotting" dependencies [MNT] Make "plotting" features optional Sep 5, 2026
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@amotl

This comment was marked as duplicate.

@fkiraly fkiraly added the maintenance Continuous integration, unit testing & package distribution label Sep 5, 2026
Comment thread pyproject.toml Outdated
Comment thread pycaret/utils/_dependencies.py
Comment thread pycaret/internal/pycaret_experiment/supervised_experiment.py

@fkiraly fkiraly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree in-principle, smaller comments:

  • should we call the extra plots?
  • If we are already doing soft dependency isolation, I would do it with scikit-base _check_soft_dependencies to deduplicate. I think the authors of pycaret copied this _check_soft_dependencies from an early version in sktime, but did not fix some of the inconsistencies (such as whether the import name, or the pypi name is used)

@amotl
amotl requested a review from fkiraly September 5, 2026 21:05
@amotl
amotl force-pushed the plotting-optional branch 2 times, most recently from 8f20a38 to 732db7c Compare September 5, 2026 21:29
@amotl
amotl force-pushed the plotting-optional branch from 732db7c to 3ca6835 Compare September 6, 2026 13:30
@amotl

amotl commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

Should we call the extra plots?

3ca6835 applied the rename, thanks.

If we are already doing soft dependency isolation, I would do it with _check_soft_dependencies from scikit-base.

Sure, why not. Thanks for tracking this per GH-141.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Continuous integration, unit testing & package distribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants