Skip to content

fix: Delete examples/example_query_and_plot.py#133

Merged
chipkent merged 2 commits into
mainfrom
chipkent-patch-1
Jan 6, 2026
Merged

fix: Delete examples/example_query_and_plot.py#133
chipkent merged 2 commits into
mainfrom
chipkent-patch-1

Conversation

@chipkent
Copy link
Copy Markdown
Collaborator

@chipkent chipkent commented Jan 6, 2026

Delete a duplicate file. example_query_and_plot.py duplicates example_overview_image.py.

Delete a duplicate file.  example_query_and_plot.py duplicates example_overview_image.py.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR attempts to remove examples/example_query_and_plot.py as a duplicate of example_overview_image.py. However, the files are not exact duplicates - they contain a critical difference in the plotting logic.

Key Issue

  • The file being deleted contains the correct implementation where the SPY plot uses t=bars_spy
  • The file being kept (example_overview_image.py) has a bug where the SPY plot incorrectly uses t=bars_dia
Comments suppressed due to low confidence (1)

examples/example_query_and_plot.py:1

  • This file should not be deleted as it contains the correct implementation. Line 51 in this file correctly uses t=bars_spy for plotting SPY data, whereas the same line in example_overview_image.py incorrectly uses t=bars_dia. The file being kept has a bug where both DIA and SPY plots reference the DIA data table. Instead of deleting this file, consider fixing line 51 in example_overview_image.py to match this correct implementation, or keep this file and delete the other one.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chipkent chipkent merged commit a32e084 into main Jan 6, 2026
15 checks passed
@chipkent chipkent deleted the chipkent-patch-1 branch January 6, 2026 17:36
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants