From 7d93bd5fe7d711b47923cf91390430bd13b8af4d Mon Sep 17 00:00:00 2001 From: mahdis-z Date: Wed, 27 Nov 2019 12:30:55 -0500 Subject: [PATCH 1/3] connectgaps --- python/missing-values.md | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 python/missing-values.md diff --git a/python/missing-values.md b/python/missing-values.md new file mode 100644 index 000000000..5b7d3a9bd --- /dev/null +++ b/python/missing-values.md @@ -0,0 +1,50 @@ +--- +jupyter: + jupytext: + notebook_metadata_filter: all + text_representation: + extension: .md + format_name: markdown + format_version: '1.1' + jupytext_version: 1.1.1 + kernelspec: + display_name: Python 3 + language: python + name: python3 + language_info: + codemirror_mode: + name: ipython + version: 3 + file_extension: .py + mimetype: text/x-python + name: python + nbconvert_exporter: python + pygments_lexer: ipython3 + version: 3.7.3 + plotly: + description: How missing values in the data appear in the plot + display_as: file_settings + language: python + layout: base + name: Missing Values + order: 25.6 + permalink: python/missing-values/ + thumbnail: thumbnail/missing_values.jpg +--- +### Missing Value in the Data + +[connectgaps](https://plot.ly/python/reference/#scatter-connectgaps) determines if missing values in the provided data are shown as a gap in the graph or not. In [this tutorial](https://plot.ly/python/filled-area-on-mapbox/#multiple-filled-areas-with-a-scattermapbox-trace), we showed how to take benefit of this feature and illustrate multiple areas in mapbox. + +```python +import plotly.graph_objects as go + +fig = go.Figure(go.Scatter( + x = [1,2,3,4,5,7], + y = [2,3,4,None, 5,8], + connectgaps = False)) + +fig.show() +``` + +#### Reference +See https://plot.ly/python/reference/#scatter-connectgaps for more information and chart attribute options! From 7fe9208cfb749dded6b55316c9aea3cb917d7212 Mon Sep 17 00:00:00 2001 From: mahdis-z Date: Thu, 28 Nov 2019 13:45:05 -0500 Subject: [PATCH 2/3] revised order --- python/missing-values.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/missing-values.md b/python/missing-values.md index 5b7d3a9bd..c5e1af768 100644 --- a/python/missing-values.md +++ b/python/missing-values.md @@ -27,7 +27,7 @@ jupyter: language: python layout: base name: Missing Values - order: 25.6 + order: 30 permalink: python/missing-values/ thumbnail: thumbnail/missing_values.jpg --- From 0c6072a29f484b4e7418c41b7c55b2654b60d1b7 Mon Sep 17 00:00:00 2001 From: mahdis-z Date: Thu, 28 Nov 2019 14:04:04 -0500 Subject: [PATCH 3/3] revised order --- python/missing-values.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/missing-values.md b/python/missing-values.md index c5e1af768..16b4521ee 100644 --- a/python/missing-values.md +++ b/python/missing-values.md @@ -27,7 +27,7 @@ jupyter: language: python layout: base name: Missing Values - order: 30 + order: 27 permalink: python/missing-values/ thumbnail: thumbnail/missing_values.jpg ---