make_svg(fname, braindata, with_labels=False, with_curvature=True, layers=['rois'], height=1024, overlay_file=None, **kwargs)¶
Save an svg file of the desired flatmap.
This function creates an SVG file with vector graphic ROIs overlaid on a single png image. Ideally, this function would layer different images (curvature, data, dropout, etc), but that has been left to implement at a future date if anyone really wants it.
file name to save
the data you would like to plot on a flatmap
Whether to display text labels on ROIs
Whether to include background curvature
List of layer names to show
Height of PNG in pixels
Custom ROI overlays file to use