{"version":"1.0","type":"rich","title":"Matplotlib subplots with TeX rendering: good figure baseline for publications","description":"This example creates a publication-quality figure with two stacked Matplotlib subplots, each displaying four labeled data series with distinct marker styles. The code enables TeX rendering for bold mathematical text throughout the figure, including axis labels, titles, and annotations, while a shared y-axis label spans both plots. It uses the `subplot` API to add axes, `plot` with custom markers, and `set_position` to adjust subplot extents. The script saves the result as a PNG file using `savefig` and applies a serif font family for a polished academic appearance.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-77c27fef6acf1f37366717937efc26d4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}