Skip to content

Commit 7fcab54

Browse files
committed
Updated function parameters and added error handling for edge cases.
1 parent 6d29ea6 commit 7fcab54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

braininventory/get.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def get_projects_treemap(df):
267267
squarify.plot(sizes_list)
268268

269269
filename = f'treemap-projects-{datetime.now().strftime("%Y%m%d")}.png'
270-
plt.savefig("path/to/save/plot.png")
270+
plt.savefig(filename)
271271

272272

273273
def __get__percentage_of_metadata_version_1(df):

0 commit comments

Comments
 (0)