Fix matplotlib image size (#3274)

* Fix matplotlib css

* CHANGELOG

* Undo lockfile
This commit is contained in:
Freddy Boulton 2023-02-21 16:34:51 -05:00 committed by GitHub
parent f36445522f
commit fa094a03e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -9,6 +9,7 @@
- Ensure `mirror_webcam` is always respected by [@pngwn](https://github.com/pngwn) in [PR 3245](https://github.com/gradio-app/gradio/pull/3245)
- Fix issue where updated markdown links were not being opened in a new tab by [@gante](https://github.com/gante) in [PR 3236](https://github.com/gradio-app/gradio/pull/3236)
- Fixes the height of rendered LaTeX images so that they match the height of surrounding text by [@abidlabs](https://github.com/abidlabs) in [PR 3258](https://github.com/gradio-app/gradio/pull/3258)
- Fix bug where matplotlib images where always too small on the front end by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3274](https://github.com/gradio-app/gradio/pull/3274)
## Documentation Changes:

View File

@ -239,8 +239,6 @@
}
.matplotlib img {
width: var(--size-full);
max-height: var(--size-32);
object-fit: contain;
}
</style>