Commit 8b88089e authored by Enrique Garcia's avatar Enrique Garcia
Browse files

Merge branch 'change_matplot_bckend' into 'master'

change matplotlib backend

See merge request !12
parents aa266c78 e64e174e
Pipeline #118200 passed with stage
in 14 seconds
...@@ -4,7 +4,6 @@ Mail : aubertp7@gmail.com ...@@ -4,7 +4,6 @@ Mail : aubertp7@gmail.com
Licence : CeCILL-C Licence : CeCILL-C
""" """
import os
import tables import tables
import argparse import argparse
...@@ -14,6 +13,7 @@ matplotlib.use('Agg') ...@@ -14,6 +13,7 @@ matplotlib.use('Agg')
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages from matplotlib.backends.backend_pdf import PdfPages
def plotCalibEvent(pdf, tabImage, varName, nbbin): def plotCalibEvent(pdf, tabImage, varName, nbbin):
fig = plt.figure(figsize=(16, 10)) fig = plt.figure(figsize=(16, 10))
try: try:
......
...@@ -4,10 +4,12 @@ Mail : aubertp7@gmail.com ...@@ -4,10 +4,12 @@ Mail : aubertp7@gmail.com
Licence : CeCILL-C Licence : CeCILL-C
""" """
import os
import tables import tables
import argparse import argparse
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages from matplotlib.backends.backend_pdf import PdfPages
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment