Skip to content

AttributeError: 'XAxis' object has no attribute '_gridOnMajor' #278

@arisliang

Description

@arisliang

🐛 Bug Description

In example notebook workflow_by_code.ipynb, encountered AttributeError when running line analysis_model.model_performance_graph(pred_label)

To Reproduce

Steps to reproduce the behavior:

  1. Open workflow_by_code.ipynb
  2. Run all cells

Expected Behavior

All cells in notebook should run without error.

Screenshot

image

image

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

Linux
x86_64
Linux-5.8.0-43-generic-x86_64-with-glibc2.10
#49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021

Python version: 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0]

Qlib version: 0.6.3.99
numpy==1.19.2
pandas==1.2.2
scipy==1.6.0
requests==2.25.1
sacred==0.8.2
python-socketio==3.1.2
redis==3.5.3
python-redis-lock==3.7.0
schedule==1.0.0
cvxpy==1.0.21
hyperopt==0.1.1
fire==0.4.0
statsmodels==0.12.1
xlrd==2.0.1
plotly==4.12.0
matplotlib==3.3.4
tables==3.6.1
pyyaml==5.4.1
mlflow==1.13.1
tqdm==4.56.0
loguru==0.5.3
lightgbm==3.1.1
tornado==6.1
joblib==1.0.1
fire==0.4.0
ruamel.yaml==0.16.12

  • Commit number (optional, please provide it if you are using the dev version):
    fa8f1cb

Additional Notes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions