1
0

perf: load matplotlib on-demand

it takes ~1.7 seconds to import electrum.plot, slowing down app-startup considerably
This commit is contained in:
SomberNight
2023-02-08 23:37:11 +00:00
parent ad0b853cd9
commit 227ccc65d4
2 changed files with 9 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
# note: This module takes 1-2 seconds to import. It should be imported *on-demand*.
import datetime
from collections import defaultdict