.. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_existing_axes.py: ============================= Plot free recall accuracy in an existing ax object ============================= This example plots free recall accuracy in an existing Matplotlib Axes object. .. image:: /auto_examples/images/sphx_glr_plot_existing_axes_001.png :class: sphx-glr-single-img .. code-block:: python # 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) .. _sphx_glr_download_auto_examples_plot_existing_axes.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download :download:`Download Python source code: plot_existing_axes.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_existing_axes.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_