Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Commit e9b3c9a

Browse files
fix missing backticks for plot_histogram() (#1480)
### Summary The function plot_histogram() in the text should be `plot_histogram()` ### Details and comments --------- Co-authored-by: Eric Arellano <ericarellano@me.com>
1 parent 4599829 commit e9b3c9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/circuits/2_plotting_data_in_qiskit.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
"source": [
171171
"### Using the output from plot_histogram()\n",
172172
"\n",
173-
"When using the plot_histogram() function it returns a `matplotlib.Figure` for the rendered visualization. Jupyter notebooks understand this return type and render it for us in this tutorial, but when running outside of Jupyter you do not have this feature automatically. However, the `matplotlib.Figure` class natively has methods to both display and save the visualization. You can call `.show()` on the returned object from `plot_histogram()` to open the image in a new window (assuming your configured matplotlib backend is interactive). Or alternatively you can call `.savefig('out.png')` to save the figure to `out.png`. The `savefig()` method takes a path so you can adjust the location and filename where you're saving the output."
173+
"When using the `plot_histogram()` function, it returns a `matplotlib.Figure` for the rendered visualization. Jupyter notebooks understand this return type and render it for us in this tutorial, but when running outside of Jupyter you do not have this feature automatically. However, the `matplotlib.Figure` class natively has methods to both display and save the visualization. You can call `.show()` on the returned object from `plot_histogram()` to open the image in a new window (assuming your configured matplotlib backend is interactive). Or alternatively you can call `.savefig('out.png')` to save the figure to `out.png`. The `savefig()` method takes a path so you can adjust the location and filename where you're saving the output."
174174
]
175175
},
176176
{

0 commit comments

Comments
 (0)