Stop displaying LEGEND with empty context-sections (#219) (#220)

pull/221/head
Disconnect3d 9 years ago committed by Zach Riggle
parent bf9799ea41
commit 3eb15c5d41

@ -56,9 +56,8 @@ def context(*args):
args = [a[0] for a in args] args = [a[0] for a in args]
result = [] result = [M.legend()] if args else []
result.append(M.legend())
for arg in args: for arg in args:
func = context_sections.get(arg, None) func = context_sections.get(arg, None)
if func: if func:

Loading…
Cancel
Save