Skip to content

Commit 003131e

Browse files
committed
Fixed plot title ordering. Closes #68
1 parent 4fd90e0 commit 003131e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

structure_threader/plotter/structplot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,9 @@ def plotk(self, kvals, output_dir):
659659
rows=nplots,
660660
cols=1,
661661
shared_xaxes=True,
662-
subplot_titles=[basename(self.kvals[k].file_path) for k in kvals
663-
if k in self.kvals],
662+
subplot_titles=sorted(
663+
[basename(self.kvals[k].file_path) for k in kvals
664+
if k in self.kvals], reverse=True),
664665
vertical_spacing=0.05,
665666
print_grid=False)
666667

0 commit comments

Comments
 (0)