perf: load matplotlib on-demand
it takes ~1.7 seconds to import electrum.plot, slowing down app-startup considerably
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user