public JupyterDisplayDumper Configure(IConfigurationSource configurationSource) { configurationSource .ApplyConfiguration <bool>("dump.truncateSmallAmplitudes", value => TruncateSmallAmplitudes = value) .ApplyConfiguration <double>("dump.truncationThreshold", value => TruncationThreshold = value) .ApplyConfiguration <BasisStateLabelingConvention>( "dump.basisStateLabelingConvention", value => BasisStateLabelingConvention = value ); return(this); }