<jupyter_start><jupyter_text>New to Plotly?Plotly's Python library is free and open source! [Get started](https://plot.ly/python/getting-started/) by downloading the client and [reading the primer](https://plot.ly/python/getting-started/).You can set up Plotly to work in [online](https://plot.ly/python/getting-started/initialization-for-online-plotting) or [offline](https://plot.ly/python/getting-started/initialization-for-offline-plotting) mode, or in [jupyter notebooks](https://plot.ly/python/getting-started/start-plotting-online).We also have a quick-reference [cheatsheet](https://images.plot.ly/plotly-documentation/images/python_cheat_sheet.pdf) (new!) to help you get started!  ImportsThis tutorial imports [Plotly](https://plot.ly/python/getting-started/) and [Numpy](http://www.numpy.org/).<jupyter_code>import plotly.plotly as py
import plotly.graph_objs as go

import numpy as np<jupyter_output><empty_output><jupyter_text>Simple ExampleWe can use `np.arange()` to create an array of values starting from the `start` value and incrementally going up to `end` value by incrementing up by the `step` value. `step` is by default set to `1`. It is very similar to `np.linspace` as both output arrays which start and stop at given values and with a certain number of values in the array, or rather, with a step size that gets us from the start to the end.<jupyter_code>np.arange(0, 10)<jupyter_output><empty_output><jupyter_text>Making a Plot<jupyter_code>import plotly.plotly as py
import plotly.graph_objs as go

x = np.arange(0, 100)
y = np.arange(0, 200, 2)

trace = go.Scatter(x=x, y=y, mode='markers')
py.iplot([trace], filename='numpy-arange')
help(np.arange)
from IPython.display import display, HTML

display(HTML('<link href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Inconsolata|Ubuntu+Mono:400,700" rel="stylesheet" type="text/css" />'))
display(HTML('<link rel="stylesheet" type="text/css" href="http://help.plot.ly/documentation/all_static/css/ipython-notebook-custom.css">'))

! pip install git+https://github.com/plotly/publisher.git --upgrade
import publisher
publisher.publish(
    'Arange.ipynb', 'numpy/arange/', 'Arange | plotly',
    'An Arange NumPy array is an array of equally spaced values determined by a step size between values.',
    title = 'Numpy Arange | plotly',
    name = 'Arange',
    has_thumbnail='true', thumbnail='thumbnail/numpy_array.jpg',
    language='numpy', page_type='example_index',
    display_as='numpy-array', order=3)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13438735177865613, 'fraction_numerical': 0.012648221343873518, 'mean_word_length': 5.62565445026178, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '257005', 'license': 'CC-BY-3.0', 'n_tokens_mistral': 872, 'n_tokens_neox': 820, 'n_words': 219, 'path': '_posts/numpy/arange/Arange.ipynb', 'repo_name': 'bmb804/documentation', 'size': '2530'}