nnpdf without pyplot imports
Created by: comane
The idea of the PR is to implement what is asked in
https://github.com/NNPDF/nnpdf/issues/1718
pyplot should not be imported anywhere in order to avoid a global state that makes it misbehave in multithreaded applications such when executed under dask