aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-07 10:05:36 +0200
committerEgor Tensin <egor@tensin.name>2026-06-07 10:05:36 +0200
commit378906709db292b423b62c49555630f6d77616e5 (patch)
tree21d350493a709414e91eeee026f97d17fe5fe790 /scripts
parentworkflows/ci: publish plots as artifacts (diff)
downloadsorting-algorithms-378906709db292b423b62c49555630f6d77616e5.tar.gz
sorting-algorithms-378906709db292b423b62c49555630f6d77616e5.zip
plot_all.sh: try to get rid of matplotlib fix
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plot_all.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/plot_all.sh b/scripts/plot_all.sh
index 1e56f40..9e216fe 100755
--- a/scripts/plot_all.sh
+++ b/scripts/plot_all.sh
@@ -26,16 +26,7 @@ declare -a algorithm_list=(
selection_sort
)
-fix_matplotlib() {
- # Get rid of:
- # tkinter.TclError: no display name and no $DISPLAY environment variable
- mkdir -p -- ~/.config/matplotlib
- echo 'backend: Agg' > ~/.config/matplotlib/matplotlibrc
-}
-
main() {
- fix_matplotlib
-
local algorithm
for algorithm in ${algorithm_list[@]+"${algorithm_list[@]}"}; do
echo "Plotting algorithm $algorithm..."