mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-28 12:51:29 +08:00
DEV: Make the other example charts larger as well
This commit is contained in:
1 parent
972eb1707d
commit
eb027833b3
3 files changed
+3
-3
No files matched your search
@@ -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