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 548a7e3 2 files · 1.1 KB 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/tree/main/skills/savefig commit 548a7e3c5e

Frequently asked questions

npx skillmds@latest add npc-worldwide/savefig