From a671807d298eff664e4af22c80ef9654cbef4d66 Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Mon, 9 Aug 2021 14:21:40 +0100 Subject: [PATCH] Cube summary what's new entries. --- docs/src/whatsnew/latest.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index 41e67ac0817..e3891d826b2 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -56,6 +56,12 @@ This document explains the changes made to Iris for this release #. `@Badboy-16`_ implemented a ``CubeList.copy()`` method to return a ``CubeList`` object instead of a ``list``. (:pull:`4094`) +#. `@pp-mo`_ and `@trexfeathers`_ reformatted :meth:`iris.cube.Cube.summary`, + (which is used for ``print(Cube)``); putting + :attr:`~iris.cube.Cube.cell_methods` before + :attr:`~iris.cube.Cube.attributes`, and improving spacing throughout. + (:pull:`4206`) + 🐛 Bugs Fixed ============= @@ -190,6 +196,11 @@ This document explains the changes made to Iris for this release #. `@bjlittle`_ consolidated `nox`_ ``black``, ``flake8`` and ``isort`` sessions into one ``lint`` session using ``pre-commit``. (:pull:`4181`) +#. `@pp-mo`_ refactored almost all of :meth:`iris.cube.Cube.summary` into the + new private module: :mod:`iris._representation`; rewritten with a more + modular approach, resulting in more readable and extensible code. + (:pull:`4206`) + .. comment Whatsnew author names (@github name) in alphabetical order. Note that, core dev names are automatically included by the common_links.inc: