File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 77 # distutils is deprecated and removed in Python 3.12+
88 # Use sysconfig instead
99 import sysconfig
10+
1011 def get_python_lib ():
1112 """Fallback implementation of get_python_lib using sysconfig."""
12- return sysconfig .get_path ('purelib' )
13+ return sysconfig .get_path ("purelib" )
14+
15+
1316import glob
1417import logging
1518import os
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ def _matplotlib_plot(
3030 for feature_importance in (
3131 explanations .saliency_map ().get (output_name ).getPerFeatureImportance ()
3232 ):
33- dictionary [
34- feature_importance .getFeature (). name
35- ] = feature_importance . getScore ( )
33+ dictionary [feature_importance . getFeature (). name ] = (
34+ feature_importance .getScore ()
35+ )
3636
3737 colours = [
3838 (
You can’t perform that action at this time.
0 commit comments