mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
refactor: plot_piechart slightly simplified.
This commit is contained in:
parent
dac7193398
commit
8381189708
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ class Obs:
|
|||
if save:
|
||||
fig1.savefig(save)
|
||||
|
||||
return dict(zip(self.e_names, sizes))
|
||||
return dict(zip(labels, sizes))
|
||||
|
||||
def dump(self, filename, datatype="json.gz", description="", **kwargs):
|
||||
"""Dump the Obs to a file 'name' of chosen format.
|
||||
|
|
Loading…
Add table
Reference in a new issue