|
1 | 1 | # 4. Seaborn
|
2 | 2 |
|
3 |
| - |
4 |
| - |
5 |
| -<figure><img src="../.gitbook/assets/image (21).png" alt="" width="253"><figcaption></figcaption></figure> |
| 3 | +<figure><img src="../.gitbook/assets/image (250).png" alt="" width="421"><figcaption></figcaption></figure> |
6 | 4 |
|
7 | 5 | 1. Click on _**Seaborn**_ in the _**Visualization**_ category.
|
8 | 6 |
|
| 7 | +<figure><img src="../.gitbook/assets/image (251).png" alt="" width="563"><figcaption></figcaption></figure> |
9 | 8 |
|
10 |
| - |
11 |
| -<figure><img src="../.gitbook/assets/image (22).png" alt="" width="563"><figcaption></figcaption></figure> |
12 |
| - |
13 |
| -2. You can use **Settings** _to_ set the basic style of the plots displayed. For detailed configuration, use the _**Chart Style**_ in the _**Visualization**_ category. |
14 |
| -3. You can preview the plot to be displayed. In the top right corner, you can set the number of samples used for preview. |
| 9 | +2. You can use _**Settings**_ to set the default style of the graph. For detailed configuration, use _**Chart Style**_ in the _**Visualization**_ category. |
| 10 | +3. _**Chart Preview**_: You can preview the plot that will be displayed. In _**Sampling** on the_ top right, you can set the number of samples to use for the preview. |
15 | 11 |
|
16 | 12 |
|
17 | 13 |
|
|
33 | 29 |
|
34 | 30 | ### Data
|
35 | 31 |
|
| 32 | +<figure><img src="../.gitbook/assets/image (252).png" alt="" width="563"><figcaption></figcaption></figure> |
36 | 33 |
|
| 34 | +1. _**Chart Type**_: Select the type of chart. |
| 35 | +2. _**Data**_: Select the data you want to graph. To select a specific column, use the funnel icon. To set X and Y separately, check _**Set X and Y individually**._ |
| 36 | +3. _User Option_: You can add additional code beyond the functionality provided by Visual Python. |
37 | 37 |
|
38 |
| -<figure><img src="../.gitbook/assets/image (23).png" alt="" width="563"><figcaption></figcaption></figure> |
39 |
| - |
40 |
| -1. Choose the style of the chart. |
41 |
| -2. _**Data**_: Select the data to be represented in the plot. You can use the _**Funnel Icon**_ to choose specific columns from the DataFrame. Check _**Set X and Y individually**_ to select the data separately for each axis. |
42 |
| -3. _**User Option**_: Optionally provide additional desired options. |
43 |
| - |
| 38 | +**\*The manuals provided below may or may not exist depending on the type of chart.**  |
44 | 39 |
|
45 |
| - |
46 |
| -\*The manual provided below may or may not exist depending on the type of chart. |
47 |
| - |
48 |
| -4. _**Hue**_: Further segment the data already selected for display based on another column or data. The data will be displayed in different colors based on the new criteria. |
49 |
| -5. _**Bins**_: If the data you want to represent in the graph(_**Histogram**_) is continuous, you can express it by dividing it into a certain number of intervals. It will be represented by bars divided into a specified number of intervals. |
50 |
| -6. _**KDE**_(Kernel Density Estimation): To smooth the shape of the graph(_**Histogram**_), use a density plot format. |
51 |
| -7. _**Stat**_: Choose the meaning of each bar in the graph(_**Histogram**_). For example, if you choose the '_**Count**_', the height of each bar represents the number of data points in that interval. |
52 |
| -8. _**Orient**_: Choose the direction of the graph(_**Bar Plot**_). |
53 |
| -9. _**Annot**_: Choose whether to display data values in each cell of the graph(_**Heatmap**_). |
| 40 | +4. _**Hue**_: Further segment the data based on other columns or data based on the data already selected. Based on the new criteria, the data is displayed in different colors. |
| 41 | +5. _**Bins**_: If the data you want to represent in a histogram is continuous, you can divide it into a certain number of _bins._ It will be displayed as bars divided by the specified intervals. |
| 42 | +6. _**KDE**_: Use the Density Plot format to smooth the appearance of the Histogram_._ |
| 43 | +7. _**Stat**_: Select the meaning of each bar in the Histogram, for example, if you select '_**Count**',_ the height of each bar will represent the number of data points in that interval. |
| 44 | +8. _**Orient**_: Choose the orientation of the graph (Bar Plot). |
| 45 | +9. _**Annot**_: Choose whether you want to show data values in each cell of the graph (Heatmap). |
54 | 46 |
|
55 | 47 |
|
56 | 48 |
|
57 | 49 | ***
|
58 | 50 |
|
59 | 51 | ### Axes
|
60 | 52 |
|
| 53 | +<figure><img src="../.gitbook/assets/image (253).png" alt="" width="563"><figcaption></figcaption></figure> |
61 | 54 |
|
62 |
| - |
63 |
| -<figure><img src="../.gitbook/assets/image (15).png" alt="" width="563"><figcaption></figcaption></figure> |
64 |
| - |
65 |
| -1. _**Limit**_: Defines the range of data to be represented on the X and Y axes. |
66 |
| -2. _**Ticks:**_ Sets the ticks on the X and Y axes. |
67 |
| - |
68 |
| -  (a) Specifies the positions where ticks will be displayed in the following format: |
69 |
| - |
70 |
| -  \[0, 1, 2, 3] -> Four ticks will be drawn. |
71 |
| - |
72 |
| -  (b) Sets the labels (Characters or Numbers) to be displayed as ticks in the following format: |
73 |
| - |
74 |
| -  \['a', 'b', 'c', 'd'] -> The specified values will be displayed in order as ticks. |
75 |
| - |
76 |
| -3. _**Rotate**_: Rotates the ticks by the specified angle. Useful when text overlaps. |
| 55 | +1. _**X Limit, Y Limit**_: Define the range of data to be displayed on the X and Y axis. |
| 56 | +2. _**X ticks, Y ticks**_: Set the scale for the X and Y axes. |
| 57 | + 1. Specify where the tick marks should appear in the following format \[0, 1, 2, 3] -> the scale is drawn at the four locations you specify. |
| 58 | + 2. Set the label (letter or number) to be displayed as a scale in the following format \['a', 'b', 'c', 'd'] -> The specified values will be displayed in order on each scale. |
| 59 | +3. _**Rotation**_: Rotates the scale by the specified angle. This is useful if you have overlapping text. |
77 | 60 |
|
78 | 61 |
|
79 | 62 |
|
80 | 63 | ***
|
81 | 64 |
|
82 | 65 | ### Info
|
83 | 66 |
|
| 67 | +<figure><img src="../.gitbook/assets/image (254).png" alt="" width="563"><figcaption></figcaption></figure> |
84 | 68 |
|
85 |
| - |
86 |
| -<figure><img src="../.gitbook/assets/image (16).png" alt=""><figcaption></figcaption></figure> |
87 |
| - |
88 |
| -1. _**Title**_: Sets the title of the plot. The name is placed at the top center of the plot. |
89 |
| -2. _**Labels**_: Sets the names of the X and Y axes. |
90 |
| -3. _**Legend**_: Sets the position to display the legend. |
| 69 | +1. _**Title**_: Set a title for the graph. The name is placed at the top center of the graph. |
| 70 | +2. _**Labels**_: Set the names for the X-axis and Y-axis. |
| 71 | +3. _**Legend**_: Set where to display the legend. |
91 | 72 |
|
92 | 73 |
|
93 | 74 |
|
94 | 75 | ***
|
95 | 76 |
|
96 | 77 | ### Style
|
97 | 78 |
|
| 79 | +<figure><img src="../.gitbook/assets/image (255).png" alt="" width="563"><figcaption></figcaption></figure> |
98 | 80 |
|
99 |
| - |
100 |
| -<figure><img src="../.gitbook/assets/image (17).png" alt=""><figcaption></figcaption></figure> |
101 |
| - |
102 |
| -1. _**Color**_: Enable the use of color and allow you to choose the color of the graph. |
103 |
| -2. _**Grid**_: Select whether to use a grid. Color can also be assigned. |
104 |
| -3. _**Marker**_: Choose the style of the marker. |
| 81 | +1. _**Color**_: You can check _**Use Color**_ to enable the use of color and select a color for the graph. |
| 82 | +2. _**Grid**_: Select whether to use a grid. You can also assign a color. |
| 83 | +3. _**Marker**_: Select a style for the marker. |
105 | 84 |
|
106 | 85 |
|
107 | 86 |
|
108 | 87 | ***
|
109 | 88 |
|
110 | 89 | ### Code
|
111 | 90 |
|
| 91 | +<figure><img src="../.gitbook/assets/image (256).png" alt="" width="563"><figcaption></figcaption></figure> |
112 | 92 |
|
113 |
| - |
114 |
| -<figure><img src="../.gitbook/assets/image (18).png" alt=""><figcaption></figcaption></figure> |
115 |
| - |
116 |
| -1. Additional code beyond the functionalities provided by Visual Python can be added. |
| 93 | +1. You can add additional code beyond what Visual Python provides. |
117 | 94 |
|
0 commit comments