Skip to content

Commit

Permalink
Merge pull request #704 from tomato42/new-matplotplib
Browse files Browse the repository at this point in the history
fix conf_interval_plot.png with new matplotlib
  • Loading branch information
tomato42 committed Oct 2, 2020
2 parents 1ccc9de + 5a793ec commit cde5016
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-requirements-analysis.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy>=1.15.0
scipy
matplotlib
matplotlib>=3.3.2
pandas
2 changes: 1 addition & 1 deletion requirements-timing.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dpkt>=1.9.2
numpy>=1.15.0
scipy
matplotlib
matplotlib>=3.3.2
pandas
2 changes: 1 addition & 1 deletion tlsfuzzer/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def conf_interval_plot(self):
fig = Figure(figsize=(16, 12))
canvas = FigureCanvas(fig)
ax = fig.add_subplot(1, 1, 1)
ax.violinplot(data.T, widths=0.7, showmeans=True, showextrema=True)
ax.violinplot(data, widths=0.7, showmeans=True, showextrema=True)
ax.set_xticks(list(range(len(data.columns)+1)))
ax.set_xticklabels([' '] + list(data.columns))
formatter = mpl.ticker.EngFormatter('s')
Expand Down

0 comments on commit cde5016

Please sign in to comment.