Skip to content

Commit 41ed411

Browse files
committed
chelsea's comments
1 parent 2acc83b commit 41ed411

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: plotly/add_figure_factory_to_plotly_library.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Add A Figure Factory to the Plotly [Python Library](https://plot.ly/python/)
22

33
## What is a Figure Factory?
4-
In the Python Plotly Library, we have very basic plot types that are created using the `plotly.graph_objs` module. These plot types include Scatter, Box and Bar types. They are the basis of the plots and charts instatiated by Plotly.
4+
In the Python Plotly Library:
5+
6+
We have basic plot types that are created using the `plotly.graph_objs` module.
7+
These plot types include Scatter, Box and Bar types. For a complete list see the [graph_objs file](https://github.com/plotly/plotly.py/blob/master/plotly/graph_objs/graph_objs.py). They are the basis of the plots and charts instatiated by Plotly.
58

69
To create a basic chart like this, first we create the `data` using the tools in `plotly.graph_objs` and then we plot it. For example:
710

@@ -20,7 +23,7 @@ data = [trace]
2023
py.iplot(data, filename='new-scatter-plot')
2124
```
2225

23-
There is another type of chart which uses these basic plot types to make other types of graphs, and this is the figure factories. These are wrappers that utilize the code from `plotly.graph_objs` to build charts that can use their structures. A good example of a figure factory is the [Scatterplot Matrix](https://plot.ly/python/scatterplot-matrix/) as it utilizes `go.Scatter`, `go.Box` and `go.Histogram`.
26+
There is another type of chart which uses these basic plot types to make other types of graphs, and these are the figure factories. These are wrappers that utilize the code from `plotly.graph_objs` to build charts that can use their structures. A good example of a figure factory is the [Scatterplot Matrix](https://plot.ly/python/scatterplot-matrix/) as it utilizes `go.Scatter`, `go.Box` and `go.Histogram`.
2427

2528
So if you have ever wanted to contribute to the Plotly Python Library by adding a new chart type we don't have, now you can! This README will help you get started by cloning the plotly.py repo, forking a new branch, creating a new figure factory, and creatng a new Pull Request to get feedback for merging. Just follow all these steps and you'll be ready to go.
2629

0 commit comments

Comments
 (0)