setvars¶
- cfplot.setvars(file=None, title_fontsize=None, text_fontsize=None, colorbar_fontsize=None, colorbar_fontweight=None, axis_label_fontsize=None, title_fontweight=None, text_fontweight=None, axis_label_fontweight=None, fontweight=None, continent_thickness=None, continent_color=None, continent_linestyle=None, viewer=None, tspace_year=None, tspace_month=None, tspace_day=None, tspace_hour=None, xtick_label_rotation=None, xtick_label_align=None, ytick_label_rotation=None, ytick_label_align=None, legend_text_weight=None, legend_text_size=None, cs_uniform=None, master_title=None, master_title_location=None, master_title_fontsize=None, master_title_fontweight=None, dpi=None, land_color=None, ocean_color=None, lake_color=None, feature_zorder=None, rotated_grid_spacing=None, rotated_deg_spacing=None, rotated_continents=None, rotated_grid=None, rotated_labels=None, rotated_grid_thickness=None, legend_frame=None, legend_frame_edge_color=None, legend_frame_face_color=None, degsym=None, axis_width=None, grid=None, grid_x_spacing=None, grid_y_spacing=None, grid_zorder=None, grid_colour=None, grid_linestyle=None, grid_thickness=None, tight=None, level_spacing=None)[source]¶
- setvars - set plotting variables and their defaultsfile=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=None - plotting zorder for above three featuresrotated_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 and latitude linesrotated_continents=True - draw rotated continentsrotated_grid=True - draw rotated gridrotated_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