choosehappy / HistoQC

HistoQC is an open-source quality control tool for digital pathology slides
BSD 3-Clause Clear License
253 stars 100 forks source link

Add "debug" mode & set matplotlib backend based on mode #300

Closed jacksonjacobs1 closed 1 month ago

jacksonjacobs1 commented 1 month ago

Agg should be set as the matplotlib backend by default instead of TKAgg.

Add a --debug option (argparse store_true) which sets the backend to TKAgg when passed. The --debug option should also allow for other debugging functionality to be toggled if needed.