setvars#
- cfplot.setvars(**kwargs)[source]#
- Set plotting variables and their defaults.file=None - output file nametitle_fontsize=None - title fontsize, default=15title_fontweight='normal' - title fontweighttext_fontsize='normal' - text font size, default=11text_fontweight='normal' - text font weightaxis_label_fontsize=None - axis label fontsize, default=11axis_label_fontweight='normal' - axis font weightlegend_text_size='11' - legend text sizelegend_text_weight='normal' - legend text weightcolorbar_fontsize='11' - colorbar text sizecolorbar_fontweight='normal' - colorbar font weightlegend_text_weight='normal' - legend text weightmaster_title_fontsize=30 - master title font sizemaster_title_fontweight='normal' - master title font weightcontinent_thickness=1.5 - default=1.5continent_color='k' - default='k' (black)continent_linestyle='solid' - default='k' (black)viewer='display' - use ImageMagick display program'matplotlib' to use image widget to view the picturetspace_year=None - time axis spacing in yearstspace_month=None - time axis spacing in monthstspace_day=None - time axis spacing in daystspace_hour=None - time axis spacing in hoursxtick_label_rotation=0 - rotation of xtick labelsxtick_label_align='center' - alignment of xtick labelsytick_label_rotation=0 - rotation of ytick labelsytick_label_align='right' - alignment of ytick labelscs_uniform=True - make a uniform differential colour scalemaster_title=None - master title textmaster_title_location=[0.5,0.95] - master title locationdpi=None - dots per inch settingland_color=None - land colourocean_color=None - ocean colourlake_color=None - lake colourfeature_zorder - plotting zorder for above three features, default=999rotated_grid_spacing=10 - rotated grid spacing in degreesrotated_deg_spacing=0.75 - rotated grid spacing between graticule dotsrotated_deg_tkickness=1.0 - rotated grid thickness for longitude andlatitude linesrotated_continents=True - draw rotated continentsrotated_grid=True - draw rotated gridrotated_grid=1.0 - TODO, default 1.0rotated_labels=True - draw rotated grid labelslegend_frame=True - draw a frame around a lineplot legendlegend_frame_edge_color='k' - color for the legend framelegend_frame_face_color=None - color for the legend backgrounddegsym=True - add degree symbol to longitude and latitude axis labelsaxis_width=None - width of line for the axesgrid=True - draw gridgrid_x_spacing=60 - grid longitude spacing in degreesgrid_x_spacing=30 - grid latitude spacing in degreesgrid_colour='k' - grid colourgrid_linestyle='--' - grid line stylegrid_zorder=100 - plotting order for the grid linesgrid_thickness=1.0 - grid thicknesstight=False - remove whitespace around the plotlevel_spacing=None - default contour level spacing - takes 'linear','log', 'loglike', 'outlier' and 'inspect'Use setvars() to reset to the defaults
- Returns:
name