Graph issue
See original GitHub issueHi I tried to run the simple example from the doc:
import bt
import pandas as pd
# fetch some data
data = bt.get('spy,agg', start='2010-01-01')
print(data.tail())
s = bt.Strategy('s1', [bt.algos.RunMonthly(),
bt.algos.SelectAll(),
bt.algos.WeighEqually(),
bt.algos.Rebalance()])
# create a backtest and run it
test = bt.Backtest(s, data)
res = bt.run(test)
# first let's see an equity curve
res.plot()
But no graph appears as indicated in the manual. I just get:
<AxesSubplot:title={'center':'Equity Progression'}>
Then with
res.plot_histogram()
I get an error message:
AttributeError: 'Rectangle' object has no property 'normed'
and with:
res.plot_security_weights()
Nothing happens.
Any suggestion ? Thx.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
Known issues with Microsoft Graph
This article describes known issues and limitations with Microsoft Graph and provides workarounds when possible.
Read more >Issues · microsoftgraph/microsoft-graph-docs - GitHub
Documentation for the Microsoft Graph REST API. Contribute to microsoftgraph/microsoft-graph-docs development by creating an account on ...
Read more >Issue Graph | Atlassian Marketplace
Visualizes your issues' dependencies at once. Exportable graphs as SVG or PNG; Automatic arrangement of the graph; Shows issues as graph node and...
Read more >Chapter 4. Graph problems - Classic Computer Science ...
A graph is an abstract mathematical construct that is used for modeling a real-world problem by dividing the problem into a set of...
Read more >Graph: Hard Problems - Algorithm Repository
Graph : Hard Problems. Clique · Independent Set · Vertex Cover · Traveling Salesman Problem · Hamiltonian Cycle · Graph Partition.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/pmorissette/ffn/blob/master/ffn/core.py#L693
this was fixed a while ago