- 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
Rishikesh Kumar Rishi has Published 1162 Articles
Rishikesh Kumar Rishi
4K+ Views
To save a 3D-plot in a PDF with Python, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a new figure or activate an existing figure.Add an 'ax' to the figure as part of a subplot arrangement.Create u, v, x, y ... Read More
Rishikesh Kumar Rishi
5K+ Views
To control the border of a bar patch in matplotlib, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a list of heights and a tuple for labels.Use the bar() method with edgecolor in the argument to control the color of ... Read More
Rishikesh Kumar Rishi
3K+ Views
To plot two different spaced time series on one same plot using Matplotlib, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create x1, y1 and x2 and y2 data points.Create a figure and a set of subplots.Plot the data that contains ... Read More
Rishikesh Kumar Rishi
9K+ Views
To change bar chart values to percentage in matplotlib, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Make a list of frequencies.Create a new figure or activate an existing figure.Make a bar plot using bar() method.Iterate the bar plot and find ... Read More
Rishikesh Kumar Rishi
168 Views
To increase colormap/linewidth quality in streamplot matplotlib, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a figure and a set of subplots.Create x and y data points and then use np.meshgrid() to return the coordinate matrices from the coordinate vectors.Find ... Read More
Rishikesh Kumar Rishi
468 Views
To change the transparency/opaqueness of a matplotlib table, we can atke following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a figure and a set of subplots.Create a random dataset with 10×3 dimension.Create a tuple of columns.Get rid of the axis markers using axis('off').Create a ... Read More
Rishikesh Kumar Rishi
4K+ Views
To embed a matplotlib animation into a tkinter frame, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a Toplevel widget of Tk which represents mostly the main window of an applicationSet the title of this widget.Add an axes to the ... Read More
Rishikesh Kumar Rishi
4K+ Views
To save multiple figures in one PDF file at once, we can take follwong stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a new figure (fig1) or activate and existing figure using figure() method.Plot the first line using plot() method.Create another figure (fig2) or activate ... Read More
Rishikesh Kumar Rishi
4K+ Views
To show a 2D array as a grayscale image in Jupyter Notebook, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create a random data using numpy.Display the data as an image, i.e., on a 2D regular raster, with gray colormap.To display ... Read More
Rishikesh Kumar Rishi
1K+ Views
To fill the region between a curve and X-axis in Python using Matplotlib, we can take the following stepsStepsSet the figure size and adjust the padding between and around the subplots.Create x and y data points using numpy.Plot the x and y data points using plot() method.Fill the area between ... Read More
To Continue Learning Please Login
Login with Google