-
Notifications
You must be signed in to change notification settings - Fork 4.4k
The plotly figure is empty in the code block "Basic data" #1902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the result figure is empty
fix issue: the plotly figure is empty
Hi, @ziphei |
comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected.
Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected.
I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
发送自 Outlook<http://aka.ms/weboutlook>
…________________________________
发件人: microsoft-github-policy-service[bot] ***@***.***>
发送时间: 2025年5月18日 15:28
收件人: microsoft/qlib ***@***.***>
抄送: ziphei ***@***.***>; Mention ***@***.***>
主题: Re: [microsoft/qlib] The plotly figure is empty in the code block "Basic data" (PR #1902)
[https://avatars.githubusercontent.com/in/95686?s=20&v=4]microsoft-github-policy-service[bot] left a comment (microsoft/qlib#1902)<#1902 (comment)>
@ziphei<https://github.com/ziphei> please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:
* (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
* (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.
1. Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.org<http://www.opensource.org/>).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
3. Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
5. Licenses.
* Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
* Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
* Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.
1. Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
2. Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
3. Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
4. Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
5. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.
―
Reply to this email directly, view it on GitHub<#1902 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJ2Y2WDRU3DXF2YXWZ3TXOT27AZCTAVCNFSM6AAAAAB2F5DZTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOBYHAZDOOBWGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@microsoft-github-policy-service agree
发送自 Outlook<http://aka.ms/weboutlook>
…________________________________
发件人: microsoft-github-policy-service[bot] ***@***.***>
发送时间: 2025年5月20日 22:56
收件人: microsoft/qlib ***@***.***>
抄送: ziphei ***@***.***>; Mention ***@***.***>
主题: Re: [microsoft/qlib] The plotly figure is empty in the code block "Basic data" (PR #1902)
[https://avatars.githubusercontent.com/in/95686?s=20&v=4]microsoft-github-policy-service[bot] left a comment (microsoft/qlib#1902)<#1902 (comment)>
@ziphei<https://github.com/ziphei> the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree
and
@microsoft-github-policy-service agree company="your company"
―
Reply to this email directly, view it on GitHub<#1902 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJ2Y2WAQZCUOHKGNHLAHBQL27M7DPAVCNFSM6AAAAAB2F5DZTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQOJUG4ZTSMZSG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
kruchkov-alexandr
pushed a commit
to kruchkov-alexandr/qlib
that referenced
this pull request
Jun 12, 2025
…1902) * Update detailed_workflow.ipynb the result figure is empty * Update detailed_workflow.ipynb fix issue: the plotly figure is empty * The error message indicated that my code did not comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected. * comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected. * I didn't use nbqa black to reformat my code. Now is done! * recover_code --------- Co-authored-by: Linlang <[email protected]>
qianyun210603
added a commit
to qianyun210603/qlib
that referenced
this pull request
Aug 14, 2025
* download orderbook data (microsoft#1754) * download orderbook data * fix CI error * fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * test fix CI error * optimize get_data code * optimize get_data code * optimize get_data code * optimize README --------- Co-authored-by: Linlang <[email protected]> * Enhance README with LightGBM Installation Guidance for Mac M1 Users (microsoft#1766) * Update README.md * Update README.md * Update README.md * Update version * bump version (microsoft#1784) Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * Fix issue 1729 (microsoft#1776) * fix issue 1729 * fix issue 1729 * fix issue 1729 --------- Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * Fix the bug of reading string NA as NaN in the function exists_qlib_data. (microsoft#1736) * Fix the bug of reading NA string as NaN in exists_qlib_data. * Fix the .gitignore file. * Update the fix and add some comments. * format with black --------- Co-authored-by: Chuan Xu <[email protected]> Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * Update dump_pit.py (microsoft#1759) seperated -> separated Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * data_collector: cn_index: fix missing dependencies package in requirements.txt (microsoft#1770) add yahooquery and openpyxl in requirements.txt Signed-off-by: YuLong Yao <[email protected]> Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * Delete redundant copy() code to speed up (microsoft#1732) Delete redundant copy() code to speed up Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * fix docs (microsoft#1721) * fix docs * modify file extension * modify file extension --------- Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * fix docs (microsoft#1788) Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> * Update README.md's dataset * fix get data error (microsoft#1793) * fix get data error * fix get v0 data error * optimize get_data code * fix pylint error * add comments * update version * bump verison * changed concat of strings to f-strings and redundant type conversion was removed (microsoft#1767) Co-authored-by: Linlang <[email protected]> * Update Dev in README.md (microsoft#1800) * fix the bug that the HS_SYMBOLS_URL is 404 (microsoft#1758) * fix the bug that the HS_SYMBOLS_URL is 404 * fix bug * format with black * fix pylint error * change error code * fix ci error * fix ci error * optimize code * optimize code * add comments --------- Co-authored-by: Linlang <[email protected]> * Update utils.py for typo (microsoft#1751) Fix typo Co-authored-by: Linlang <[email protected]> * fix panic during normalizing the invalid data (microsoft#1698) * fix panic during normalizing the invalid data * fix yaml load * change error to warning * change error code * optimize code --------- Co-authored-by: Linlang <[email protected]> * fix logo display error (microsoft#1804) * Add "mse" metric option to ALSTM.metric_fn (microsoft#1810) * Fix typo (microsoft#1809) Co-authored-by: LeeYuntong <[email protected]> * Fix typo (microsoft#1811) Co-authored-by: LeeYuntong <[email protected]> * Fix TSDataSampler Slicing Bug microsoft#1716 (microsoft#1803) * Fix TSDataSampler Slicing Bug microsoft#1716 * Fix TSDataSampler Slicing Bug microsoft#1716 * Fix TSDataSampler Slicing Bug microsoft#1716 * Fix TSDataSampler Slicing Bug with simplyer implmentation#1716 with Simplified Implementation * Refactor: Fix CI errors by addressing pylint formatting issues * Refactor: Remove extraneous whitespace for improved code formatting with Black * Fix Yahoo daily data format inconsistent (microsoft#1517) * Fix FutureWarning: Passing unit-less datetime64 dtype to .astype is deprecated and will raise in a future version. Pass 'datetime64[ns]' instead * align index format while end date contains current day data * fix black * fix black * optimize code * optimize code * optimize code * fix ci error * check ci error * fix ci error * check ci error * check ci error * check ci error * check ci error * check ci error * check ci error * fix ci error * fix ci error * fix ci error * fix ci error * fix ci error --------- Co-authored-by: Cadenza-Li <[email protected]> Co-authored-by: Linlang <[email protected]> * change weight data download url (microsoft#1812) * add a note for code standard (microsoft#1814) * add a note for code standard * handle both cases --------- Co-authored-by: taozhiwang <[email protected]> * Update index_data.py for datatype conversion and alignment (microsoft#1813) * Update index_data.py for data convertion and alignment * Update qlib/utils/index_data.py * Update qlib/utils/index_data.py * fix linting --------- Co-authored-by: taozhiwang <[email protected]> Co-authored-by: you-n-g <[email protected]> * Add some misc features. (microsoft#1816) * Normal mod * Black linting * Linting * Nested data loader (microsoft#1822) * nested data loader * Amend * add data loder test * fix pylint error * fix pytest error * fix pytest error * delete comments * Update qlib/contrib/data/handler.py --------- Co-authored-by: Linlang <[email protected]> * More dataloader example (microsoft#1823) * More dataloader example * optimize code * optimeze code * optimeze code * optimeze code * optimeze code * optimeze code * fix pylint error * fix CI error * fix CI error * Comments * fix error type --------- Co-authored-by: Young <[email protected]> * Ptnn4both datatypes and alignment tests (microsoft#1827) * Init model for both dataset * Remove some deprecated code * Add model template; * We must align with previous results * We choose another mode as the initial version * Almost success to run GRU * Successfully run training * Passed general_nn test * gru test * Alignment test passed * comment * fix readme & minor errors * general nn updates & benchmarks * Update examples/benchmarks/GeneralPtNN/workflow_config_gru2mlp.yaml --------- Co-authored-by: Young <[email protected]> Co-authored-by: you-n-g <[email protected]> * 🔥LLM-driven Auto Quant Factory🔥 (microsoft#1840) * Update README.md * Update README.md * Update README.md * fix break img (microsoft#1842) * Update README.md (microsoft#1839) Update data example to 20240809 * Update README.md to show rdagent in qlib front page (microsoft#1848) * update readme * Update README.md add english and chinese link to rdagent * add the logo of rdagent to readme add the logo of rdagent to readme * adjust the height of the logo * improve some works in readme * add a line * add dockerfile (microsoft#1817) * add dockerfile * add execute script * add docs * optimize docs * optimize dockerfile * optimize docs * optimize dockerfile * update code & update README * doc build error * update docs * update code * Update requirements.txt (microsoft#1829) Update urllib3 dependency according to GHSA-34jh-p97f-mpxf * Saurabh12571257/main (microsoft#1866) * Update README.md * test macos ci * test macos ci * test macos ci * fix ci error * fix ci error --------- Co-authored-by: saurabh dave <[email protected]> * Update README.md * fix duplicate log (microsoft#1661) * fix duplicate log * fix unit test * fix log * fix_duplicate_log * fix_duplicate_log * add comments --------- Co-authored-by: Linlang <[email protected]> * Fix Async Call (microsoft#1869) * update python version (microsoft#1868) * update python version * fix: Correct selector handling and add time filtering in storage.py * fix: convert index and columns to list in repr methods * feat: Add Makefile for managing project prerequisites * feat: Add Cython extensions for rolling and expanding operations * resolve install error * fix lint error * fix lint error * fix lint error * fix lint error * fix lint error * update build package * update makefile * update ci yaml * fix docs build error * fix ubuntu install error * fix docs build error * fix install error * fix install error * fix install error * fix install error * fix pylint error * fix pylint error * fix pylint error * fix pylint error * fix pylint error E1123 * fix pylint error R0917 * fix pytest error * fix pytest error * fix pytest error * update code * update code * fix ci error * fix pylint error * fix black error * fix pytest error * fix CI error * fix CI error * add python version to CI * add python version to CI * add python version to CI * fix pylint error * fix pytest general nn error * fix CI error * optimize code * add coments * Extended macos version * remove build package --------- Co-authored-by: Young <[email protected]> * Update publish (microsoft#1871) * update publish * reformat with black * Update version * Bump version (microsoft#1872) * bump version * bump version * Update README.md * fix_ci_error * fix_ci_error * fix_ci_error * fix_ci_error --------- Co-authored-by: you-n-g <[email protected]> * Fix the empty price_s case and self.instruments in SBBStrategyEMA. (microsoft#1677) * Fix the empty price_s case and self.instruments in SBBStrategyEMA. * Update qlib/contrib/strategy/rule_strategy.py * Update qlib/contrib/strategy/rule_strategy.py --------- Co-authored-by: you-n-g <[email protected]> Co-authored-by: Linlang <[email protected]> * Fix broken URL for RL (microsoft#1881) * fix_issue_1878 * fix_issue_1878 * Update links to chenditc/investment_data to always point to latest release (microsoft#1877) * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md Link to latest release. https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases#linking-to-the-latest-release * Update README.md * Update README.md * Fix csi300 constituents url (microsoft#1883) * fix_csi300_constituents_url * Fix issue in readme * format with black * DRAFT add Data Health Checker (microsoft#1574) * microsoft#854 implement first data health checker draft * microsoft#854 added support for qlib's data format, implemented factor check, reformatted summary * adaptation current dataset * format with black * add data health check to docs * fix sphinx error * fix pylint error * update code * format with black * format with pylint --------- Co-authored-by: Linlang <[email protected]> * fix pkl file not loading in StaticDataLoader (microsoft#1896) * fix pkl file not loading in StaticDataLoader * resolve hard code * resolve hard code * docs: fix README.md link * fix col name error when fetch data (microsoft#1904) * fix col name error when fetch data * fix col name error when fetch data * fix install qlib error * optimize code * optimize code * optimize code * fix fillna bug (microsoft#1914) * fix fillna bug * fix flake8 error * fix pylint error * update ubuntu version for action * fix pytest error * fix pylint error * fix black error * fix pylint error * add Fillna test * fix black error * add instruments * remove code * Fix issue 1892 (microsoft#1916) * fix: resolve microsoft#1892 by retriving the data page by page * fix: resolve microsoft#1892 by retriving the data page by page * reformat with black --------- Co-authored-by: shengyuhong <[email protected]> Co-authored-by: fibers <[email protected]> * fix bugs in the documentation (microsoft#1918) * fix bugs in the documentation * fix docs error * fix ci error (microsoft#1921) * fix ci error * fix ci error * add comments * add comments * [fix] keep group_keys=False in Average Ensemble (microsoft#1913) * fixed a problem with multi index caused by the default value of groupkey (microsoft#1917) * fixed a problem with multi index caused by the default value of groupkey * modify group_key default value * limit pandas verion * format with black * fix docs error * fix docs error * fixed bugs caused by pandas upgrade * remove needless code * reformat with black * limit version & add docs * [Fix]Update data preparation part in README.md (microsoft#1924) * [feat] fix a bug and adapt general_nn for use with rdagent_qlib (microsoft#1928) * update qlib general_nn for rdagent_qlib * fix install lightgbm error * fix install lightgbm error & format with black --------- Co-authored-by: Linlang <[email protected]> * The plotly figure is empty in the code block "Basic data" (microsoft#1902) * Update detailed_workflow.ipynb the result figure is empty * Update detailed_workflow.ipynb fix issue: the plotly figure is empty * The error message indicated that my code did not comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected. * comply with the code style guidelines. Specifically, I had used double quotes "notebook" for the string, whereas the required format was single quotes 'notebook'. This has now been corrected. * I didn't use nbqa black to reformat my code. Now is done! * recover_code --------- Co-authored-by: Linlang <[email protected]> * doc: update README.md (microsoft#1929) * Update README.md * Update README.md * Add util function to help automatically get horizon (microsoft#1509) * Add util function to help automatically get horizon * Reformat for CI * Leverage horizon change * Udpate config yaml * Update for formatting * Adapt to pickled handler * Fix CI error * remove blank * Fix lint * Update tests * Remove redundant check * modify the code as suggested * format code with pylint * fix pytest error --------- Co-authored-by: Linlang <[email protected]> * Implement geometric accumulation mode for risk_analysis function (microsoft#964) (microsoft#1938) Co-authored-by: eabjab <[email protected]> * Update README.md (microsoft#1940) * Fixing Security Vulnerabilities (microsoft#1941) * Fixing Security Vulnerabilities * Fixing Pylint Error * Fixing Security Vulnerabilities windows * format with black * using returncode to locate problems * fix pylint error * fix: typo (microsoft#1943) * refactor: introduce BaseDataHandler and unify fetch interface (microsoft#1958) * refactor: introduce BaseDataHandler and unify fetch interface * refactor: include data_key in seg_kwargs and simplify segments loop * refactor: default data_key to BaseDataHandler.DK_I in _get_df_by_key * style: fix indentation and remove extra blank lines in data handlers * refactor: use BaseDataHandler.DK_I as default data_key * docs: fix BaseDataHandler docstring grammar and formatting * refactor: remove unused **kwargs from storage fetch methods * docs: refine BaseDataHandler and DataHandler docstrings * refactor: rename BaseDataHandler to DataHandlerABC, update type hints * feat: add flt_col to TSDatasetH and list-to-slice conversion in storage * lint * comment * disable pylint error (microsoft#1960) * disable pylint error * try fix build docs error * try fix build docs error * optimize code * feat: use pydantic-settings for MLflow config and update dependencies (microsoft#1962) * feat: use pydantic-settings for MLflow config and update dependencies * docs * feat: data improve, support parquet (microsoft#1966) * refactor: relocate CLI modules to qlib.cli and update references * refactor: introduce read_as_df and rename csv_path to data_path * lint * refactor: rename csv_path to data_path and use QSettings.provider_uri * fix pylint error * fix get_data command * add comments to CI yaml * update docs --------- Co-authored-by: Linlang <[email protected]> --------- Signed-off-by: YuLong Yao <[email protected]> Co-authored-by: Linlang <[email protected]> Co-authored-by: Linlang <[email protected]> Co-authored-by: Xisen Wang <[email protected]> Co-authored-by: Young <[email protected]> Co-authored-by: Linlang Lv (iSoftStone Information) <[email protected]> Co-authored-by: Chuan Xu <[email protected]> Co-authored-by: Chuan Xu <[email protected]> Co-authored-by: Ikko Eltociear Ashimine <[email protected]> Co-authored-by: fei long <[email protected]> Co-authored-by: playfund <[email protected]> Co-authored-by: you-n-g <[email protected]> Co-authored-by: Linlang <[email protected]> Co-authored-by: igeni <[email protected]> Co-authored-by: Hao Zhao <[email protected]> Co-authored-by: block-gpt <[email protected]> Co-authored-by: Yang <[email protected]> Co-authored-by: raikiriww <[email protected]> Co-authored-by: Lee Yuntong <[email protected]> Co-authored-by: LeeYuntong <[email protected]> Co-authored-by: 陈屹华 <[email protected]> Co-authored-by: Fivele-Li <[email protected]> Co-authored-by: Cadenza-Li <[email protected]> Co-authored-by: cyncyw <[email protected]> Co-authored-by: taozhiwang <[email protected]> Co-authored-by: Another <[email protected]> Co-authored-by: Xu Yang <[email protected]> Co-authored-by: Di <[email protected]> Co-authored-by: saurabh dave <[email protected]> Co-authored-by: Chia-hung Tai <[email protected]> Co-authored-by: codecnotsupported <[email protected]> Co-authored-by: Ben Heckmann <[email protected]> Co-authored-by: shengyuhong <[email protected]> Co-authored-by: fibers <[email protected]> Co-authored-by: Dred <[email protected]> Co-authored-by: Yuante Li <[email protected]> Co-authored-by: ziphei <[email protected]> Co-authored-by: eabjab <[email protected]> Co-authored-by: Emre <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I just explore the file examples/tutorial/detailed_workflow.ipynb.
when I execute the code block below,I found that the result figure is empty.
import plotly.graph_objects as go
fig = go.Figure(
data=[
go.Candlestick(
x=df.index.get_level_values("datetime"),
open=df["$open"],
high=df["$high"],
low=df["$low"],
close=df["$close"],
)
]
)
fig.show()
Description
Insert two lines of code, and these two lines of code are in italics.
import plotly.graph_objects as go
import plotly.io as pio
pio.renderers.default = "notebook"
fig = go.Figure(
data=[
go.Candlestick(
x=df.index.get_level_values("datetime"),
open=df["$open"],
high=df["$high"],
low=df["$low"],
close=df["$close"],
)
]
)
fig.show()
Motivation and Context
the result figure of the code is empty and user can see nothing
How Has This Been Tested?
pytest qlib/tests/test_all_pipeline.py
under upper directory ofqlib
.Screenshots of Test Results (if appropriate):
Types of changes