Skip to content
Snippets Groups Projects
Commit a862d8a7 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Trying to fix matplotlib issue

parent 6e0dc59d
No related branches found
No related tags found
No related merge requests found
Pipeline #31479 passed
......@@ -26,13 +26,6 @@ import matplotlib; matplotlib.use('pdf') #avoids TkInter threaded start
import matplotlib.pyplot as mpl
from matplotlib.backends.backend_pdf import PdfPages
# enable LaTeX interpreter
matplotlib.rc('text', usetex=True)
matplotlib.rc('font', family='serif')
matplotlib.rc('lines', linewidth = 4)
# increase the default font size
matplotlib.rc('font', size=18)
import argparse
import numpy, math
import os
......@@ -168,6 +161,13 @@ def read_score_file(filename):
def main(command_line_arguments=None):
"""Reads score files, computes error measures and plots curves."""
# enable LaTeX interpreter
matplotlib.rc('text', usetex=True)
matplotlib.rc('font', family='serif')
matplotlib.rc('lines', linewidth = 4)
# increase the default font size
matplotlib.rc('font', size=18)
args = command_line_options(command_line_arguments)
# get some colors for plotting
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment