Skip to content

1.0

Compare
Choose a tag to compare
@cmbant cmbant released this 29 Oct 22:20
· 180 commits to master since this release
  • getdist.styles modules for consistently changing styles of plots and easily using default matplotlib colors. See plots.set_active_style. Styles included are "default", "tab10" (default matplotlib 2 colors) and "planck" (more complicated example).
  • BoundedMaxNLocator for determining tick locations dynamically accounting for label lengths to avoid overlaps.
    Parameters axis_tick_step_groups, axis_tick_powerlimits available in settings
  • Latest matplotlib compatibility (now requires 2.2+, with 3.1+ recommended). Internal changes to use gridspec and other more modern features
  • Saving/loading of labels and sampler sample properties
  • Cache files now in temp/cache directory by default (avoids issues with file write access at chain file location)
  • Subplot layout improved; option to use constrained_layout
  • plot_1d, plot_2d and plot_3d now automatically call finish_plot() when there is only one set of axes [which calls tight_layout as needed to make everything fit in the requested size)
  • Options to control font size scaling, which is now applied dynamically if scaling=True (see settings)
  • subplot_size_ratio parameter to change default subplot aspect ratio
  • More common plot parameter defaults available from settings and hence also styles (legend_colored_text, title_limit etc.)
  • getdist.plots consistently uses lower case (PEP8). Other modes still mainly use CamelCase. Old forms still work.
  • Triangle plot option upper_label_right when using upper roots
  • Convenience function get_axes. Many refactorings for consistent axes arguments.
  • Added add_bands for plotting constraint bands
  • Improved support for rotated tick labels (rotation options in settings)
  • Added getEffectiveSamplesGaussianKDE_2d
  • Tweaked KDE bandwidth estimation for fewer failures
  • Added option to get best fit sample (getParamBestFitDict)
  • Removed some deprecated features including support for old fortran GetDist plot_data files
  • Significant GetDist GUI improvements (now renamed "getdist-gui"):
    • high DPI support
    • change plot settings (options menu) interactively in script view
    • Mac .app wrapper and compatibility
    • Coordinates and panning in the interactive preview page
    • Status bar shows any warnings
    • Easier changing of boolean settings in the options windows