PlotDefaults.caps2surf#
- static PlotDefaults.caps2surf()[source]#
Plotting defaults for
CAP.caps2surf.- Returns:
dict[str, Any] – Default parameters for surface plots:
General Figure Parameters:
- dpi
int, default=300 – Dots per inch for the plot.
- dpi
- title_pad
int, default=-3 – Padding for the plot title.
- title_pad
- bbox_inches
str, default=”tight” – Alters size of the whitespace in the saved image.
- bbox_inches
Color Parameters:
- cmap
strorcallable, default=”cold_hot” – Colormap to be used for the plot.
- cmap
- cbar_kws
dict, default={“location”: “bottom”, “n_ticks”: 3} – Customizes colorbar.
- cbar_kws
- color_range
tupleorNone, default=None – The minimum and maximum value to display in plots (min, max).
- color_range
- alpha
floatorint, default=1 – Transparency level of the colorbar (0=transparent, 1=opaque).
- alpha
- zero_transparent
bool, default=True – Turns vertices with a value of 0 transparent.
- zero_transparent
Surface Parameters:
- surface: {“inflated”, “veryinflated”}, default=”inflated” –
The surface atlas used for plotting.
- views
list, default=[“lateral”, “medial”] – Views to be displayed in the plot.
- views
- as_outline
bool, default=False – Plots only an outline of contiguous vertices with the same value.
- as_outline
- outline_alpha
float, default=1 – Transparency level of the colorbar for outline if as_outline is True.
- outline_alpha
Brightness, Layout, Sizing, and Parameters:
- size
tuple, default=(500, 400) – Size of the plot in pixels.
- size
- layout
str, default=”grid” – Layout of the plot.
- layout
- zoom
float, default=1.5 – Zoom level for the plot.
- zoom
- brightness
float, default=0.5 – Brightness level of the plot.
- brightness
- figsize
tupleorNone, default=None – Size of the figure.
- figsize
- scale
tuple, default=(2, 2) – Scale factors for the plot.
- scale
Note
For “cbar_kws”, refer to
_add_colorbarsforsurfplot.plotting.Plotin Surfplot’s Plot Documentation for valid parameters.