/sciris:sciris-plottingfrom sciris
Provides Matplotlib extensions via Sciris for plot styling, axis formatting (date, comma, SI ticks), colormaps (parula, orangeblue), 3D plotting, and publication-quality figure saving.
Ships in sciris. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reference for Matplotlib extensions and color utilities. See full tutorial: docs/tutorials/tut_plotting.ipynb.
If you need more detail, use your MCP tools (Context7 or GitMCP) to look up current Sciris documentation, or consult the other Sciris skills.
sc.options(jupyter=True) # High-res retina backend for Jupyter
sc.options(dpi=120) # Set figure DPI
sc.options(font='serif') # Change font globally
sc.options(font='default') # Reset font
with plt.style.context('sciris.simple'): # Clean, minimal style
make_plot()
with plt.style.context('sciris.fancy'): # Seaborn-like style
make_plot()
sc.dateformatter() # Auto date formatting on x-axis
sc.commaticks() # Comma-separated tick labels (1,000,000)
sc.SIticks() # SI notation (1M, 2.5k)
sc.setylim() # Auto y-limits (starts at 0)
sc.boxoff() # Remove top/right spines
sc.figlayout() # Tight layout (remove whitespace)
rows, cols = sc.getrowscols(14) # Auto grid for N subplots
colors = sc.vectocolor(n, cmap='turbo') # Map values to colormap
colors = sc.vectocolor(values, cmap='parula') # Custom Sciris colormaps: parula, orangeblue
c = sc.arraytocolor(data_2d) # 2D version
colors = sc.gridcolors(n) # n<=9: ColorBrewer, 10-19: Kelly's, 20+: uniform RGB
colors = sc.gridcolors(n, asarray=True) # As numpy array
ax = sc.ax3d(121) # Create 3D subplot
sc.scatter3d(x, y, z, c=colors, ax=ax)
sc.bar3d(data, ax=ax)
sc.surf3d(data, cmap='orangeblue')
sc.savefig('fig.png') # Publication quality + metadata
sc.savefig('fig.png', comments='v2') # With custom comments
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sciris/sciris --plugin sciris10 skills in this plugin
/sciris-advancedUse when working with advanced Sciris features — nested dictionaries (sc.makenested, sc.getnested, sc.setnested, sc.iternested, sc.search, sc.iterobj), context blocks (sc.capture, sc.tryexcept), sc.smoothinterp interpolation, sc.asd optimization, sc.animation, sc.savemovie, or sc.printjson./sciris-arraysUse when working with NumPy arrays in Sciris — finding indices, nearest values, concatenation, handling NaN/missing values, smoothing data, 2D Gaussian smoothing, or linear regression with sc.findinds, sc.findnearest, sc.cat, sc.rmnans, sc.fillnans, sc.smooth, sc.rolling, sc.linregress./sciris-datesUse when working with dates, times, or timing in Sciris — sc.timer, sc.tic, sc.toc, sc.date, sc.daterange, sc.datedelta, sc.now, sc.getdate, sc.time, sc.timedsleep, sc.randsleep, date format conversion, or timing code blocks./sciris-dictsUse when working with Sciris dictionaries or dataframes — sc.obj, sc.objdict, sc.odict, sc.dataframe, integer indexing of dicts, enumitems, object-syntax access, dataframe creation with dtypes, appendrow, or sc.dataframe.cat./sciris-filesUse when saving or loading files with Sciris — sc.save, sc.load, sc.savejson, sc.loadjson, sc.saveyaml, sc.readyaml, sc.savearchive, sc.loadarchive, sc.savefig, sc.loadmetadata, sc.getfilelist, sc.thispath, sc.makefilepath, sc.rmpath, sc.metadata, sc.compareversions, sc.require, or version/reproducibility tracking./sciris-introUse when the user needs to implement a basic Sciris features — finding array values, plotting with date formatting, sc.obj containers, saving/loading objects, or parallelization.Other plugins' skills for the same job