Skip to content

make matplotlib optional #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

make matplotlib optional #303

wants to merge 1 commit into from

Conversation

aantn
Copy link

@aantn aantn commented Jul 13, 2025

Fixes #225
This is a breaking change for users, but it solves a major painpoint for end users who don't want to pull in unecessary dependencies.

I've pushed a version of the package to pypi at https://pypi.org/project/prometheus-api-client-optional-matplotlib/ which is a drop-in replacement for prometheus-api-client without the matplotlib dependency.

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.

Ways to import PrometheusConnect without also importing **huge** pandas and matplotlib
1 participant