You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data visualizations are not showing up in the PDF file. Because plotly creates interactive plots that don't translate to PDF / book format. So we are conditionally rendering a static PNG image when the format is PDF.
Some unrelated additional updates for PDF formatting include:
+ preventing request URLs from overflowing the page on PDF
+ updating table widths to look good in the PDF
Some future updates include:
+ Customizing the image heights #36
Copy file name to clipboardExpand all lines: docs/notes/dataviz/candlesticks.qmd
+60-8Lines changed: 60 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,56 @@ execute:
9
9
10
10
# Candlestick Charts with `plotly`
11
11
12
-
In financial applications, we often have access to OHLC data (containing the open, high, low, and close price on each day). We can use a candlestick chart can help us see the movement of the price within each day.
12
+
In financial applications, we may have access to OHLC data (containing the open, high, low, and closing prices on each day).
13
13
14
+
With OHLC data, we can use a [candlestick chart](https://plotly.com/python/candlestick-charts/) to display the price movements within each day.
14
15
15
-
To implement a [candlestick chart](https://plotly.com/python/candlestick-charts/), we can use the [`Candlestick` class](https://plotly.github.io/plotly.py-docs/generated/plotly.graph_objects.Candlestick.html) from plotly's Graph Objects sub-library.
16
+
To implement a candlestick chart, we can use the [`Candlestick` class](https://plotly.github.io/plotly.py-docs/generated/plotly.graph_objects.Candlestick.html) from plotly's Graph Objects sub-library.
0 commit comments