stacker.visualization.set_polar_grid

Contents

stacker.visualization.set_polar_grid#

set_polar_grid(**kwargs)[source]#

Set up axes for PSF.

Creates polar plot background for two-residue movement comparison with theta 0 to 360, a radial maximum of 15 Angstroms, and a visualization of the perspective residue at the center.

Parameters:
**kwargsdict, optional

Additional keyword arguments to customize the plot:

  • fontsizeint, default = 10

    Font size for all text elements.

  • fig_widthfloat, default = 5

    Width of the figure in inches.

  • fig_heightfloat, default = 5

    Height of the figure in inches.

  • title_fontsizeint, default = fontsize

    Font size for the title.

  • legend_fontsizeint, default = fontsize

    Font size for the legend.

  • cb_fontsizeint, default = fontsize

    Font size for the colorbar labels.

  • xaxis_fontsizeint, default = fontsize

    Font size for the x-axis labels.

  • yaxis_fontsizeint, default = fontsize

    Font size for the y-axis labels.

Returns:
axmatplotlib.projections.polar.PolarAxes

Axis object for the created polar plot.