Plot free recall accuracy in an existing ax objectΒΆ

This example plots free recall accuracy in an existing Matplotlib Axes object.

../_images/sphx_glr_plot_existing_axes_001.png
# Code source: Andrew Heusser
# License: MIT

#import
import quail
import matplotlib.pyplot as plt

#load data
egg = quail.load('example')

#analysis
fegg = egg.analyze('accuracy', listgroup=['condition1']*4+['condition2']*4)

#plot by list
fig = plt.figure()
ax = fig.add_subplot(2,1,1)
fegg.plot(plot_style='violin', title='Average Recall Accuracy', ax=ax)

Total running time of the script: ( 0 minutes 14.257 seconds)

Gallery generated by Sphinx-Gallery