Skip to content

Commit f234dee

Browse files
committed
Install matplotlib for opengraph preview images
1 parent be699c4 commit f234dee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_docs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@ def build_venv(self):
789789
[venv_path / "bin" / "python", "-m", "pip", "install", "--upgrade"]
790790
+ ["--upgrade-strategy=eager"]
791791
+ [self.theme]
792+
+ ["matplotlib>=3"] if self.includes_html else [] # opengraph previews
792793
+ self.version.requirements,
793794
cwd=self.checkout / "Doc",
794795
)

0 commit comments

Comments
 (0)