Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,51 +1,14 @@
|
|
| 1 |
---
|
| 2 |
pretty_name: Matplotlib Code-Image Pairs
|
| 3 |
license: other
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- matplotlib
|
| 6 |
- code
|
| 7 |
- plotting
|
| 8 |
- computer-vision
|
| 9 |
- synthetic
|
| 10 |
-
configs:
|
| 11 |
-
- config_name: default
|
| 12 |
-
data_files:
|
| 13 |
-
- split: train
|
| 14 |
-
path: data/train-*
|
| 15 |
-
dataset_info:
|
| 16 |
-
features:
|
| 17 |
-
- name: image
|
| 18 |
-
dtype: image
|
| 19 |
-
- name: code
|
| 20 |
-
dtype: string
|
| 21 |
-
- name: example_id
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: figure_index
|
| 24 |
-
dtype: int64
|
| 25 |
-
- name: figure_name
|
| 26 |
-
dtype: string
|
| 27 |
-
- name: title
|
| 28 |
-
dtype: string
|
| 29 |
-
- name: example_page_url
|
| 30 |
-
dtype: string
|
| 31 |
-
- name: source_url
|
| 32 |
-
dtype: string
|
| 33 |
-
- name: source_relpath
|
| 34 |
-
dtype: string
|
| 35 |
-
- name: category_hint
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: status
|
| 38 |
-
dtype: string
|
| 39 |
-
- name: num_figures
|
| 40 |
-
dtype: int64
|
| 41 |
-
- name: error
|
| 42 |
-
dtype: 'null'
|
| 43 |
-
splits:
|
| 44 |
-
- name: train
|
| 45 |
-
num_bytes: 57044107
|
| 46 |
-
num_examples: 643
|
| 47 |
-
download_size: 54960557
|
| 48 |
-
dataset_size: 57044107
|
| 49 |
---
|
| 50 |
|
| 51 |
# Matplotlib Code-Image Pairs
|
|
@@ -118,3 +81,11 @@ from datasets import load_dataset
|
|
| 118 |
|
| 119 |
ds = load_dataset("ajayvikram/matplotlib-code-image", split="train")
|
| 120 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
pretty_name: Matplotlib Code-Image Pairs
|
| 3 |
license: other
|
| 4 |
+
license_name: matplotlib-license
|
| 5 |
+
license_link: https://matplotlib.org/stable/project/license.html
|
| 6 |
tags:
|
| 7 |
- matplotlib
|
| 8 |
- code
|
| 9 |
- plotting
|
| 10 |
- computer-vision
|
| 11 |
- synthetic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Matplotlib Code-Image Pairs
|
|
|
|
| 81 |
|
| 82 |
ds = load_dataset("ajayvikram/matplotlib-code-image", split="train")
|
| 83 |
```
|
| 84 |
+
|
| 85 |
+
## License And Attribution
|
| 86 |
+
|
| 87 |
+
This dataset is derived from Matplotlib gallery examples. The card metadata uses `license: other` with
|
| 88 |
+
`license_name: matplotlib-license` and `license_link: https://matplotlib.org/stable/project/license.html` because the Matplotlib project uses a
|
| 89 |
+
project-specific license rather than a standard Hugging Face license identifier. The official Matplotlib license
|
| 90 |
+
permits use, distribution, and derivative works provided the Matplotlib copyright notice and license agreement
|
| 91 |
+
are retained. This is an interpretation of the official license page, not legal advice.
|