HF RL Explorer

Task: Export Matplotlib Figures to Files from Python Script

Task: Export Matplotlib Figures to Files from Python Script: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python script that generates a matplotlib plot and saves it to both PNG and PDF file formats programmatically. This simulates the common need to export figures from a…

The task

You need to create a Python script that generates a matplotlib plot and saves it to both PNG and PDF file formats programmatically. This simulates the common need to export figures from a Jupyter/IPython notebook environment to files.

Part of PrimeIntellect/Terminal-Lego-15k.