Skip to content

Commit

Permalink
default row.title attribute set to ''
Browse files Browse the repository at this point in the history
  • Loading branch information
sabriel27 committed Feb 21, 2019
1 parent 0ec40a4 commit 8e4ca61
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
==================

Expand Down
2 changes: 1 addition & 1 deletion grafanalib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8e4ca61

Please sign in to comment.