Skip to content

Commit

Permalink
GUI: Set default save format to .pdf (#243)
Browse files Browse the repository at this point in the history
Empress GUI now defaults to saving images as .pdf instead of .png. The pdf format is more helpful because it's a vector format that can be zoomed in infinitely.
  • Loading branch information
ssantichaivekin authored Jun 12, 2021
1 parent 9e6fb65 commit 4acbdc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion empress_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
import sys
import pathlib

import matplotlib
matplotlib.rcParams['savefig.format'] = 'pdf' # default save format
from matplotlib import pyplot as plt
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk

import empress
from empress import input_reader
from empress.recon_vis.utils import dict_to_tree
from empress.recon_vis import tree

Expand Down

0 comments on commit 4acbdc1

Please sign in to comment.