def __prepare_fancyarrow_dpi_cor_test():
 fig2 = plt.figure(u'fancyarrow_dpi_cor_test', figsize=(4, 3), dpi=50)
 ax = fig2.add_subplot(111)
 ax.set_xlim([0, 1])
 ax.set_ylim([0, 1])
 ax.add_patch(mpatches.FancyArrowPatch(posA=(0.3, 0.4), posB=(0.8, 0.6), lw=3, arrowstyle=u'->', mutation_scale=100))
 return fig2

def __prepare_fancyarrow_dpi_cor_test ( ) : fig2 = plt . figure ( u'fancyarrow_dpi_cor_test' , figsize = ( 4 , 3 ) , dpi = 50 ) ax = fig2 . add_subplot ( 111 ) ax . set_xlim ( [ 0 , 1 ] ) ax . set_ylim ( [ 0 , 1 ] ) ax . add_patch ( mpatches . FancyArrowPatch ( posA = ( 0.3 , 0.4 ) , posB = ( 0.8 , 0.6 ) , lw = 3 , arrowstyle = u'->' , mutation_scale = 100 ) ) return fig2
convenience function that prepares and returns a fancyarrowpatch .