Recent Releases of moniplot

moniplot - Release v1.4.0

Major update from version v1.1.0 - License changed to Apache-2.0 - New classes: "DrawDetImage", "DrawDetQuality", and "DrawMulti". Please try them. - New class: "DrawTimeSerie" looks nice, but the API is not stable, yet

- Python
Published by rmvanhees 10 months ago

moniplot - 1.1.0

Moniplot v1.1.0 is a minor release that fixes bugs and regressions discovered after the v1.0.0 release.

Most important fixes and changes:

  • Moved from setuptools to hatchling
  • DrawHist: put tickmarks on the leftside of the bars to make them less confusing
  • DrawGeo.mash: added option to draw multiple segments in one figure.
  • DrawGeo.tracks: Added parameters label_id and markersize
  • FigInfo: improved layout
  • tol_colors: added color-set Plain
  • Many minor bug fixes
  • Improved annotations

- Python
Published by rmvanhees about 1 year ago

moniplot - Release version 1.0.0

This release breaks code developed with moniplot v0.6 and earlier.

This is the first stable release of moniplot, you will need to update your code developed with older versions of moniplot. But, you will be able to reproduce the same plots as you did before.

The main advantage of the new code is that you can display the figures directly on your screen:

import matplotlib.pyplot as plt from moniplot.drawimage import DrawImage plot = DrawImage(arr2d) fig, axx = plot.subplots() plot.draw(axx, figinfo=fig_info, title="A detector image") plt.show()

Or as a PDF figure:

report = MONplot("testmonplot.pdf", "This is an example figure") report.setinstitute("SRON") plot = DrawImage(arr2d) fig, axx = plot.subplots() plot.draw(axx, figinfo=figinfo, title="A detector image") report.addcopyright(axx["image"]) report.closethis_page(fig)

Actually all the methods of MONplot version 0.6 are available as separate classes (except multiplot). You can mix these different classes on one page, except DrawImage.

Another major change is that xarray.Datasets are no longer accepted as input. You can still use a Dataset as follows:

import matplotlib.pyplot as plt from moniplot.drawimage import DrawImage plot = DrawTrend() fig, axx = plot.subplots(len(xds.datavars)) axx[0].settitle(title) for ii, key in enumerate(xds.datavars): plot.draw(axx[ii], xds[key]) axx[-1].set_xlabel(xds[key].dims[1]) plt.show()

We still need to update the documentation of moniplot, but the module documentation is updated and contains at least one example.

- Python
Published by rmvanhees about 2 years ago

moniplot - Release version v0.6.0

Changes and Fixes

  • Rewrote tol_colors to use dataclasses;
  • MONplot accepts as name of the Figure string or Path-like objects;
  • Added new module geo_plot;
  • Fixed import of Cartopy;
  • Replaced LaTeX characters by Unicode in labels of image plots;
  • Added parameter 'scatter' for scatter plots in trend-figures
  • Fixed time axis for trend-data;
  • Moved MONplot helper-functions to the lib-folder;
  • Fixed depreciated setup configuration;
  • Added ruff configuration to pyproject.toml: > * Updated the module documentation to the PEP257 convention. > * Let ruff reformat all python-code; > * Fixed all issues reported by ruff [flake8-annotations]

- Python
Published by rmvanhees over 2 years ago

moniplot - Release v0.5.9

Fixed

  • The dependencies in pyproject.toml are fixed. Now you should be able to install moniplot with Python version 3.8 and 3.9.

- Python
Published by rmvanhees almost 3 years ago

moniplot - Release v0.5.8

This is a minor release of moniplot. There is no need to update if v0.5.7 works for you.

Changes

  • Will add test modules using pytest.

Fixed

  • Fixed annotations (with many thanks to pycharm).
  • Fixed minor bugs.
  • Improved documentation.

- Python
Published by rmvanhees almost 3 years ago

moniplot - Release v0.5.7

This is a minor release only containing small fixes and improvements.

Improvements

  • Obtain package version from importlib (release)
  • Added example script for MONplot.draw_lplot
  • Added keyword kwlegend to method MONplot.draw_lplot to pass keywords to matplotlib.Axis.legend

Fixes

  • Improved type hinting of some functions (ongoing work)
  • Fixed ReStructuredText formatting of module biweight.py
  • Fixed typos in documentation

- Python
Published by rmvanhees about 3 years ago

moniplot - Feature release v0.5.6

New

  • added new method 'drawfovckd' to MONplot which shows SPEXone wavelength, radiometric and polarimetric CKD data from each viewport in a subplot.
  • Rewrote function biweight to a class.
  • Added a function to calculate the unbiased estimator.
  • Added the unbiased estimator for biweight.
  • Added support for Python 3.11.

Fixed

  • Improved the location of the info-box for plots with aspect ration 1.

- Python
Published by rmvanhees over 3 years ago

moniplot - Feature release v0.5.5

Changes

  • Rewrote tol_colors, added color-map 'nightfall', and removed obsoleted color-maps.
  • Improved draw_lplot, which now can cycle thought different color sets.
  • Improved module documentation, specially the section 'Examples'.

Documentation

  • Status: in development, specially the tutorial is incomplete
  • Location: https://moniplot.readthedocs.io

- Python
Published by rmvanhees over 3 years ago

moniplot - Release v0.5.4

Fixed on-line documentation at module level, introduction and quick-guide are work in progress.

No code changes between v0.5.1 and v0.5.4

- Python
Published by rmvanhees over 3 years ago

moniplot - Bugfix release v0.5.3

Fixed unnecessary dependencies

- Python
Published by rmvanhees over 3 years ago

moniplot - Feature Release v0.5.2

Implemented automated software documentation on 'Read the Docs'

No code changes between v0.5.1 and v0.5.2

- Python
Published by rmvanhees over 3 years ago

moniplot - Release v0.5.1

No real need to upgrade to this release

Changes

  • moved away from module collections to module typing
  • increased the size of the figures generated with draw_lplot

- Python
Published by rmvanhees over 3 years ago

moniplot - Bugfix release v0.5.0

Fixed

  • Fixed determination of dataset dimensions and coordinates when a HDF5 dataset or netCDF4 variable is stored in an xarray DataArray structure.
  • Added description on how the dimensions and coordinates are determined.

- Python
Published by rmvanhees over 3 years ago

moniplot - Release v0.4.2

New

  • Added sequential color scheme "Incandescent"

Fixed

  • fix case when a dimension scale has length zero
  • handle dimensions without coordinates correctly
  • netCDF specific attributes (starting with an underscore) should be neglected
  • minor bugfixes
  • updated the requirements when installing the software

- Python
Published by rmvanhees over 3 years ago

moniplot - Bugfix release v0.4.1

Changes

This release improves the layout of MONplot::drawsignal and MONplot::drawquality figures. And includes some minor bug fixes and coding improvements.

All users should upgrade.

- Python
Published by rmvanhees almost 4 years ago

moniplot - Release v0.4.0

Changes

  • first public release of moniplot via PyPI
  • includes the usual (minor) bugfixes and documentation improvements

- Python
Published by rmvanhees almost 4 years ago

moniplot - Feature release v0.3.0

Release of version 0.3.0 - all basis functionally is included in this release - new is the method multiplot (requires more documentation) - added textbox option to method draw_lplot (requires more documentation) - histograms are looking much nicer - includes also many bug fixes, code improvements and documentation updates

Known issue: the tickmarks of the colorbar, with zscale='ratio', need more work get them correct.

- Python
Published by rmvanhees about 4 years ago

moniplot - Feature release v0.2.2

  • Added method draw_hist() to class MONplot
  • Made result of method draw_qhist look much nicer
  • Replaced method keyword excluderegion to keyword datasel
  • fixed several bugs

- Python
Published by rmvanhees about 4 years ago

moniplot - minor bugfix release v0.2.1

A minor bugfix release for version 0.2.0: - monplot.py: always position the figinfo box relative to the colorbar (when present).

- Python
Published by rmvanhees about 4 years ago

moniplot - First release of moniplot

This is the first stable release of moniplot with enough functionality to replace S5Pplot of pys5p.

The class MONplot replaces the pys5p class S5Pplot, the following methods have been implemented: - drawsignal(): replaces S5Pplot::drawsignal(). The new implementation is faster and its layout more esthetic. In the side-panels you can show averages of your image data using the Numpy functions: mean, nanmean, median, nanmeadian, std and nanstd - drawquality(): replaces S5Pplot::drawquality() - drawqhist(): replaces S5Pplot::drawtrend1d(), but requires xarray::Dataset(s) as input. - drawtrend(): replaces S5Pplot::drawtrend1d(), but requires xarray::Dataset(s) as input. - drawplot(): replaces S5Pplot::drawlines(), but requires xarray::Dataset(s) as input.

Please try it and report any issues you encounter.

- Python
Published by rmvanhees about 4 years ago

moniplot - First pre-release of moniplot

This is the first pre-release of the python package moniplot.

The code is still under development (some functionality is still missing), but the API should be stable as of now.

- Python
Published by rmvanhees about 4 years ago