Getdist

Latest version: v1.4.7

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

Scan your dependencies

Page 1 of 3

1.4.1

* Uses fast numpy loadtxt to load chains in numpy >= 1.23 (much faster than previous pandas fallback)
* Minor fixes

1.4

* GetDist GUI supports PySide 6
* Minor fixes

1.3.0

* Added [plot_4d](https://getdist.readthedocs.io/en/latest/plots.html#getdist.plots.GetDistPlotter.plot_4d) for 3-D colored scatter plots, with optional animation and mp4 export
* GUI updates for dark mode and dpi compatibility; copy image to clipboard
* Use numpy 1.17 Generators for random sampling
* MCSamples instances can now access parameter sample values via samples['name']
* Fixes for [Cobaya](https://cobaya.readthedocs.io/) chain load
* Bug fixes and updates for compatibility

1.2.0

Various small bug and version compatibility fixes.

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

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.