mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-07 16:31:11 +08:00
DEV: Make the other example charts larger as well
This commit is contained in:
@@ -42,4 +42,4 @@ if __name__ == '__main__':
|
||||
results.portfolio_value.plot(ax=ax1)
|
||||
ax2 = plt.subplot(212, sharex=ax1)
|
||||
data.AAPL.plot(ax=ax2)
|
||||
plt.show()
|
||||
plt.gcf().set_size_inches(18, 8)
|
||||
|
||||
@@ -89,4 +89,4 @@ if __name__ == '__main__':
|
||||
ax2.plot(results.ix[results.sell].index, results.short_ema[results.sell],
|
||||
'v', markersize=10, color='k')
|
||||
plt.legend(loc=0)
|
||||
plt.show()
|
||||
plt.gcf().set_size_inches(18, 8)
|
||||
|
||||
@@ -131,4 +131,4 @@ if __name__ == '__main__':
|
||||
results.zscores.plot(ax=ax2, color='r')
|
||||
plt.ylabel('zscored spread')
|
||||
|
||||
plt.show()
|
||||
plt.gcf().set_size_inches(18, 8)
|
||||
|
||||
Reference in New Issue
Block a user