Skip to content

Commit 8e005de

Browse files
author
Fritz Lekschas
authored
Remove duplicated docs
1 parent 705fd97 commit 8e005de

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -142,26 +142,6 @@ The Regl instance which renderes the scatterplot.
142142

143143
The version number of the scatterplot.
144144

145-
**Examples:**
146-
147-
```javascript
148-
// Set width and height
149-
scatterplot.set({ width: 300, height: 200 });
150-
151-
// get width
152-
const width = scatterplot.get('width');
153-
154-
// Set the aspect ratio of the scatterplot. This aspect ratio is referring to
155-
// your data source and **not** the aspect ratio of the canvas element! By
156-
// default it is assumed that your data us following a 1:1 ratio and this ratio
157-
// is preserved even if your canvas element has some other aspect ratio. But if
158-
// you wanted you could provide data that's going from [0,2] in x and [0,1] in y
159-
// in which case you'd have to set the aspect ratio as follows to `2`.
160-
scatterplot.set({ aspectRatio: 2.0 });
161-
```
162-
163-
Nullifiable: an attribute is considered _nullifiable_ if you can unset it. Attributes that are not _nullifiable_ can be used, i.e., if you call `scatterplot.set({ width: 0 });` will not change the width as `0` is interpreted as a falsey value.
164-
165145
#### `scatterplot.get(property)`
166146

167147
**Returns:** one of the properties documented in [`set()`](#scatterplotset)

0 commit comments

Comments
 (0)