Savefig

Save the current matplotlib figure to a file path with chroptiks defaults (png, 250 dpi, tight bounding box). Returns the absolute path.

npc-worldwide Updated

File contents

savefig

Save the current matplotlib figure to a file path with chroptiks defaults (png, 250 dpi, tight bounding box). Returns the absolute path.

Inputs

  • output_path (default: 'figure.png')
  • dpi (default: '250')
  • format (default: 'png')

Steps

Usage

/run_jinx jinx_ref=savefig input_values={"output_path": "figure.png", "dpi": "250", "format": "png"}

npc-worldwide/chroptiks commit 548a7e3c5e

Frequently asked questions

npx get-skill add npc-worldwide/savefig