diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 10262fa8..54d5517e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ Changelog ========= +0.5.6 (2019-02-21) +================== + +Fixes +----- +* Set row.title to "" instead of None to get row behavior. + + 0.5.5 (2019-02-13) ================== diff --git a/grafanalib/core.py b/grafanalib/core.py index da832eb1..64bfdf10 100644 --- a/grafanalib/core.py +++ b/grafanalib/core.py @@ -550,7 +550,7 @@ class Row(object): validator=instance_of(Pixels), ) showTitle = attr.ib(default=None) - title = attr.ib(default=None) + title = attr.ib(default="") repeat = attr.ib(default=None) def _iter_panels(self): diff --git a/setup.py b/setup.py index dd1a75e7..5490997e 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ def local_file(name): # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html - version='0.5.5', + version='0.5.6', description='Library for building Grafana dashboards', long_description=open(README).read(), url='https://github.com/weaveworks/grafanalib',