Skip to content

Commit 78c52f5

Browse files
authored
doc: use symbol (#119)
Because occurred `NameError: undefined local variable or method`.
1 parent 5d139d5 commit 78c52f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Charty.box_plot(data: penguins, x: :species, y: :body_mass_g, color: :sex)
198198
Charty's scatter plot shows the relationship between two numeric variables.
199199

200200
```ruby
201-
Charty.scatter_plot(data: penguins, x: :body_mass_g, y: flipper_length_mm)
201+
Charty.scatter_plot(data: penguins, x: :body_mass_g, y: :flipper_length_mm)
202202
```
203203

204204
![](images/penguins_body_mass_g_flipper_length_mm_scatter_plot.png)
@@ -208,7 +208,7 @@ The following example specifies `:species` variable in the color axis.
208208
It shows the different species by the different colors.
209209

210210
```ruby
211-
Charty.scatter_plot(data: penguins, x: :body_mass_g, y: flipper_length_mm, color: :species)
211+
Charty.scatter_plot(data: penguins, x: :body_mass_g, y: :flipper_length_mm, color: :species)
212212
```
213213

214214
![](images/penguins_body_mass_g_flipper_length_mm_species_scatter_plot.png)
@@ -217,7 +217,7 @@ Moreover, size and style axes can be specified.
217217
The following example specifies `:sex` variable in the style axis.
218218

219219
```ruby
220-
Charty.scatter_plot(data: penguins, x: :body_mass_g, y: flipper_length_mm, color: :species, style: :sex)
220+
Charty.scatter_plot(data: penguins, x: :body_mass_g, y: :flipper_length_mm, color: :species, style: :sex)
221221
```
222222

223223
![](images/penguins_body_mass_g_flipper_length_mm_species_sex_scatter_plot.png)

0 commit comments

Comments
 (0)