- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 35 Articles for Plotly
7K+ Views
Plotly is an open-source, interactive, and browser-based charting library for Python. Python users can use Plotly to generate different types of charts including scientific charts, 3D graphs, statistical charts, financial charts, etc. In this tutorial, we will show how you can use Plotly to plot data on the secondary Y-Axis. Here we will use the plotly.graph_objects module to generate figures. It contains a lot of methods to customize the charts and render them into HTML format. We will plot two bar charts using the add_trace() method and then use the update_layout() method to set a property with dict arguments. Follow ... Read More
2K+ Views
Plotly is an open-source plotting library in Python that can generate several different types of charts. Python users can use Plotly to create interactive web-based visualizations. In this tutorial, we will see how you can use Plotly to add multiple text labels in a chart from DataFrame columns. Here, we will use the plotly.graph_objects module to generate figures. It contains a lot of methods to customize charts and render them into HTML format. Then, we will use the Scatter() method of this module to generate a scatter plot. The "line" attribute of Scatter() contains a parameter "color" that we ... Read More
4K+ Views
Plotly is an open-source plotting library in Python that can generate several different types of charts. Python users can use Plotly to create interactive web-based visualizations that can be displayed in Jupyter notebooks, saved to standalone HTML files, or served as a part of web applications using Dash. Plotly can also be used in static document publishing and desktop editors such as PyCharm and Spyder. Dash is a Python framework and it is used to create interactive web-based dashboard applications. The dash library adds all the required libraries to web based dashboard applications. In this tutorial, we will show how ... Read More
2K+ Views
Plotly is an open-source plotting library in Python that can generate several different types of charts. Python users can use Plotly to create interactive web-based visualizations including scientific charts, 3D graphs, statistical charts, financial charts, etc. Plotly can also be used in static document publishing and desktop editors such as PyCharm and Spyder. In this tutorial, we will show how you can use Plotly to hide legend entries for a particular field. Follow the steps given below to hide the legend entries. Step 1 Import the plotly.offline module and alias as py. import plotly.offline as py Step 2 Import ... Read More
368 Views
Plotly is an open-source plotting library in Python that can generate several different types of charts. Python users can use Plotly to generate different types of charts including scientific charts, 3D graphs, statistical charts, financial charts, etc. In this tutorial, we will show how you can use Plotly to shade a chart above a specific Y value. Here, we will use the plotly.express module to create a plot. Then, we will use the add_vline() method to create a line with green color and set its width. To set the line color and opacity values, we will use the add_hrect() ... Read More
7K+ Views
Plotly is an open-source, interactive, and browser-based charting library for Python. Python users can use Plotly to generate different types of charts including scientific charts, 3D graphs, statistical charts, financial charts, etc. In this tutorial, we will show how you can use Plotly to change the variable and label names for the legend in a line chart. Here we will use the plotly.graph_objects module to generate figures. It contains a lot of methods to customize the charts and render them into HTML format. Follow the steps given below to generate variable or label names for the legend. Step 1 Import ... Read More
3K+ Views
Plotly is an open-source plotting library in Python. Python users can use Plotly to generate different types of interactive web-based charts including scientific charts, 3D graphs, statistical charts, financial charts, etc. In this tutorial, we will show how you can use Plotly to generate multiple line charts. Here we will use plotly.express to generate figures. It contains a lot of methods to customize the charts and render them into HTML format. Follow the steps given below to generate a multiple line chart using Plotly Express. Step 1 Import the plotly.express module and alias as px. import plotly.express as px ... Read More
6K+ Views
Plotly is an open-source plotting library in Python that can generate several different types of interactive web-based charts. Plotly can also be used in static document publishing and desktop editors such as PyCharm and Spyder. In this tutorial, we will see how to manually set the color of points in a scatter plot using Plotly. We will use the plotly.express module to generate scatter plots and then use the update_traces() method to set the desired color plot. Follow the steps given below to manually set the color of points in a Scatter plot. Step 1 Import the plotly.express module and ... Read More
31K+ Views
Plotly is an open-source plotting library in Python that can generate several different types interactive web-based visualizations that can be displayed in Jupyter notebooks, saved to standalone HTML files, or served as a part of web applications using Dash. Plotly can also be used in static document publishing and desktop editors such as PyCharm and Spyder. In this tutorial, we will show how you can use Plotly to plot multiple lines on the same Y-axis on a chart. Here we will use plotly.express to generate figures. It contains a lot of methods to customize chart and render a chart into ... Read More
1K+ Views
Plotly is an open-source Python library for creating interactive web-based charts. In this tutorial, we will show how you can Plotly to apply color/shape/size in a Scatter Plot. Here, we will use the plotly.graph_objects module to generate figures. It contains a lot of method to generate charts. In addition, we will use the add_trace() method to create a scatter plot and then use the add_shape() method to set the type, shape, and line color. Finally, we will use the update_layout() method to set the height and width of the chart. Follow the steps given below to apply color/shape ... Read More