Skip to content

Commit

Permalink
Install matplotlib for opengraph preview images
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jan 20, 2025
1 parent be699c4 commit f234dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ def build_venv(self):
[venv_path / "bin" / "python", "-m", "pip", "install", "--upgrade"]
+ ["--upgrade-strategy=eager"]
+ [self.theme]
+ ["matplotlib>=3"] if self.includes_html else [] # opengraph previews
+ self.version.requirements,
cwd=self.checkout / "Doc",
)
Expand Down

0 comments on commit f234dee

Please sign in to comment.