Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad97ee1

Browse files
committed
Repairing broken reST section formatting
1 parentfb8a8c0 commitad97ee1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎tutorials/introductory/getting_started.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
# automatically generates certain Artists for the visualization even
352352
# without assigned data.
353353
#
354-
354+
#
355355
# Explicit Figure and Axes unpacked from module function.
356356
# No data transformed for visualizations.
357357
fig,ax=plt.subplots()
@@ -377,7 +377,7 @@
377377
# configurable for more than one type of visualization of data. From the
378378
# `Plotting`_ section above, the Axes in both explicit and implicit strategies
379379
# contain multiple types of visualizations of data on a single Axes.
380-
380+
#
381381
# Each of these types are specific to the Axes they are in. In the example, the
382382
# two plots each have one Axes. These Axes each have multiple plot lines. The
383383
# lines as objects are not shared between the two plots even though the data is
@@ -560,7 +560,6 @@ def autopct_format(percent, group):
560560

561561
# Explicit
562562

563-
564563
fig,ax=plt.subplots()
565564

566565
ax.pie(budget,colors=colors,labels=categories)
@@ -574,6 +573,8 @@ def autopct_format(percent, group):
574573
#
575574
#
576575

576+
# Implicit
577+
577578
plt.pie(budget,colors=colors,labels=categories)
578579
plt.legend()
579580
plt.title('Average Monthly Income Expenses')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp