mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02: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:
|
if save:
|
||||||
fig1.savefig(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):
|
def dump(self, filename, datatype="json.gz", description="", **kwargs):
|
||||||
"""Dump the Obs to a file 'name' of chosen format.
|
"""Dump the Obs to a file 'name' of chosen format.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue