Getdist

Latest version: v1.5.0

Safety actively analyzes 638884 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.1.0

- Support for plotting and gui loading chains from any hierarchy of folders given the root folder name as chain_dir
- Large speed up for analysing very long highly correlated chains (in getEffectiveSamplesGaussianKDE)
- Removed Python 2 support, updates for Python 3 (see Python2latest for Py2-compatible version)
- Fixes and updates for Cobaya chain compatibility including propagating fixed parameter values
- Removed paramgrid module (loaded from cosmomc if that is installed and configured)

1.0.0

* getdist.styles modules for consistently changing styles of plots and easily using default matplotlib colors. See [plots.set_active_style](https://getdist.readthedocs.io/en/latest/plots.html#getdist.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](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotSettings)
* 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](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.plot_1d), [plot_2d](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.plot_ed) and [plot_3d](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.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](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotSettings))
* [subplot_size_ratio](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.get_subplot_plotter) parameter to change default subplot aspect ratio
* More common plot parameter defaults available from [settings](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotSettings) 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](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.triangle_plot) option upper_label_right when using upper roots
* Convenience function [get_axes](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.get_axes). Many refactorings for consistent axes arguments.
* Added [add_bands](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.add_bands) for plotting constraint bands
* Improved support for rotated tick labels (rotation options in [settings](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotSettings))
* Added [getEffectiveSamplesGaussianKDE_2d](https://getdist.readthedocs.io/en/latest/chains.html#getdist.chains.WeightedSamples.getEffectiveSamplesGaussianKDE_2d)
* Tweaked KDE bandwidth estimation for fewer failures
* Added option to get best fit sample ([getParamBestFitDict](https://getdist.readthedocs.io/en/latest/mcsamples.html#getdist.mcsamples.MCSamples.getParamBestFitDict))
* Removed some deprecated features including support for old fortran GetDist plot_data files
* Significant [GetDist GUI](https://getdist.readthedocs.io/en/latest/gui.html) 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

0.3.3

* Added title_limit option for 1D and triangle plots to add parameter limit at top of each subplot
* Add markers option to triangle_plot
* [Cobaya 2](http://cobaya.readthedocs.io) compatibility
* Minor GUI fixes

0.3.1

- GetDistGUI support for python3 with PySide2
- Better support for nested sampling and uncorrelated samples via specified sample type
- Bug and doc fixes

0.3.0

Further support for Cobaya chains, and parameter aliases/renames.

Some support for scientific exponential notation for very large/small parameters in table outputs.

Improvements to triangle_plot including options for the upper triangle

Various bug fixes and updates for latest matplotlib.

0.2.8.4

Adds support for Cobaya .yaml chain metadata files (thanks Jesus Torrado).

GetDist GUI has option to put legend inside axes for single-axes plots.

Updates for latest matplotlib compatibility. Misc fixes.

Added links to run example notebook online in Binder.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.