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

Commit104aea1

Browse files
minjk-blgitbook-bot
authored andcommitted
GITBOOK-51: Pandas Plot
1 parent94755c4 commit104aea1

File tree

8 files changed

+43
-56
lines changed

8 files changed

+43
-56
lines changed
77.5 KB
Loading
28.5 KB
Loading
68.7 KB
Loading
37.6 KB
Loading
37.6 KB
Loading
81.9 KB
Loading
Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
---
2-
description:Configuring the Basic Style of the Chart
2+
description:Configuring the Basic Style of the Chart from Font to Graph Size
33
---
44

55
#1. Chart Style
66

7+
<figure><imgsrc="../.gitbook/assets/image (229).png"alt=""width="399"><figcaption></figcaption></figure>
78

9+
1. In the_**Visualization**_ category, click_**Chart Style**._
810

9-
<figure><imgsrc="../.gitbook/assets/image (53).png"alt=""width="219"><figcaption></figcaption></figure>
11+
<figure><imgsrc="../.gitbook/assets/image (230).png"alt=""width="426"><figcaption></figcaption></figure>
1012

11-
1. Click on the_**Chart Style**_ in the visualization category.
12-
13-
14-
15-
<figure><imgsrc="../.gitbook/assets/image (54).png"alt=""width="563"><figcaption></figcaption></figure>
16-
17-
2. Use_**Import Library**_ in the top right corner to import_**Matplotlib**_ and_**Seaborn**_ without specific chart style settings.
18-
3. Set the_**figure size**_ for the chart to be displayed.
19-
4. Choose the_**style of the chart**_ to be displayed.
20-
5. Set the_**font**_ for the text entered in the chart to be displayed.
21-
6. Select the_**font size**_.
22-
7. Default settings can be applied for the configuration.
23-
8. Preview the code that will be generated.
24-
9. Output the code.
13+
2._**Import Library**_: Import_**Matplotlib**_ and_**Seaborn**._
14+
3._**Figure size**_: Set the size of the figure that will be output.
15+
4._**Style sheet**_: Choose the style of the picture that will be output.
16+
5._**Style font**_: Set the font for the text that will be entered into the graph.
17+
6._**Font size**_: Choose a font size.
18+
7._**Set Default**_: Specify the setting as the default value.
19+
8._**Code view**_: Preview the code that will be output.
20+
9._**Run**_: Print and run the code.
2521

Lines changed: 31 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,34 @@
11
#2. Pandas Plot
22

3-
4-
5-
<figure><imgsrc="../.gitbook/assets/image (4) (1).png"alt=""width="285"><figcaption></figcaption></figure>
6-
7-
1. Click on_**Pandas Plot**_ in the_**Visualization**_ category.
8-
9-
10-
11-
<figure><imgsrc="../.gitbook/assets/image (6) (1).png"alt=""width="563"><figcaption></figcaption></figure>
12-
13-
2. Select the DataFrame to be represented as a plot.
14-
15-
&#x20; 2-1. Specific columns of the DataFrame can be selected using the funnel icon.
16-
17-
18-
19-
**\*The following items will be set to default values if not entered:**
20-
21-
3. Choose the_**Chart Type**_.
22-
4. Enter the_**Chart Title**_.
23-
5. Input the_**size of the output plot**_.
24-
6. Select the_**Font Size**_ of the text on the plot.
25-
7. Select the_**color theme**_ for the displayed plot.
26-
8. Decide on the visibility of the_**Grid**_.
27-
9. Decide on the visibility of the_**Legend**_.
28-
10._**Rotate on the axis names**_ if needed, especially useful for long names.
29-
11. Specify the_**axis names**_.
30-
31-
32-
33-
<figure><imgsrc="../.gitbook/assets/image (7) (1).png"alt=""width="563"><figcaption></figcaption></figure>
34-
35-
12. Set the_**range of values**_ to be displayed on the axes.
36-
13. Specify the_**interval**_ between axis tick marks.
37-
14. For line graphs, specify the_**style of the lines**_.
38-
15._**Choose the columns**_ from the DataFrame to be represented in the plot.
39-
16. Simultaneously, create_**multiple plots**_ within a single figure.
40-
17. Specify the_**Layout**_ when creating multiple plots.
41-
18. Choose_**True**_ if you want to use the DataFrame's index as the X-axis.
42-
19. If_**True**_, represent data from multiple columns of the DataFrame in a single plot.
3+
<figure><imgsrc="../.gitbook/assets/image (231).png"alt=""width="353"><figcaption></figcaption></figure>
4+
5+
1. In the_**Visualization**_ category, click_**Pandas Plot**._
6+
7+
<figure><imgsrc="../.gitbook/assets/image (233).png"alt=""width="551"><figcaption></figcaption></figure>
8+
9+
2._**DataFrame**_: Select the dataframe you want to graph. You can select specific columns via the funnel icon.
10+
3._**Code view**_: Preview the code that will be output.
11+
4.**Run**: Print and run the code.
12+
13+
***The items below are set to default values if not entered:**
14+
15+
<figure><imgsrc="../.gitbook/assets/image (234).png"alt=""width="563"><figcaption></figcaption></figure>
16+
17+
5._**Chart Type**_: Select the type of graph you want to output.
18+
6._**Chart Title**_: Enter a title for the graph you want to output.
19+
7._**Figure Size**_: Enter the size of the graph to output.
20+
8._**Font Size**_: Choose a font size for the text in the graph.
21+
9._**Color Map**_: Choose a color theme for the graph you want to output.
22+
10._**Show Grid**_: Decide whether the grid is visible or not.
23+
11._**Show Legend**_: Determine the visibility of the legend.
24+
12._**X Label Rotation**_: Rotate the axis name if needed, useful if the name is long.
25+
13._**X Label, Y Label**_: Name the axes.
26+
14._**X Limit, Y Limit**_: Set the range of values to be displayed on the axis.
27+
15.**X**_**Ticks, Y Ticks**_: Specify the interval between axis tick marks.
28+
16._**Style**_: For line graphs, specify the style of the lines.
29+
17._**X Column, Y Column**_: Select the columns in the dataframe that you want to show in the graph.
30+
18._**Subplots Per Column**_: Outputs multiple graphs in a single plot.
31+
19._**Subplot Layout**_: Specify the layout when outputting multiple graphs into a single plot.
32+
20._**Use Index on X Ticks**_: Select True to use the index of the dataframe as the x-axis.
33+
21._**Stacked**_: If true, display the values in each column stacked.
4334

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp