Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged matplotlib

0 votes
670 views
1 answer
    I'm looking for a way to plot filled rectangles on a Basemap. I could easily draw the rectangle's edges ... (specifying color and alpha). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
592 views
1 answer
    Here is my data: Lon Lat Z Z2 pos 32.6 -13.6 41 9 CHIP 27.1 -16.9 43 12 CHOM 32.7 -10.2 46 ... in the above code, though my data has 29 points See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
890 views
1 answer
    I'm using following line for plotting a 3D surface: surf = ax3.plot_surface(X, Y, Z, rstride=1, ... the surface would be highly appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
740 views
1 answer
    I'm drawing the bloxplot shown below using python and matplotlib. Is there any way I can reduce the distance ... bit closer to each other): See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
786 views
1 answer
    I want to plot curves with different y-axis that share the same x-axis. I have used the twinx function before, ... z-order do not work for twinx See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
550 views
1 answer
    This must be easy, but I can't figure how right now without using urllib module and manually fetching ... will allow loading remote image? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
594 views
1 answer
    I'm trying to plot log ratios from the range -3 to 3 and want negative ratios to be green and positive ... to output a nice gradient manually. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
937 views
1 answer
    I'm calling seaborn.boxplot roughly as follows: seaborn.boxplot(ax=ax1, x="centrality", y="score", hue=" ... with the given color palette? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
610 views
1 answer
    I intend to plot multiple columns in a pandas dataframe, all grouped by another column using groupby inside seaborn. ... idea for this problem. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
630 views
1 answer
    There's a similar question - but I can't make the solution proposed there work. Here's an example plot with a ... I fit the title to the plot? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
817 views
1 answer
    Is there a way in matplotlib to set ticks between the labels and the axis as it is by default in Origin? ... plot hides the ticks when inside. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
904 views
1 answer
    I am producing a publication-quality plot to be embedded in latex and I would like to be very precise in ... general solution to my problem. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
976 views
1 answer
    I need to type Greek letters and the Angstrom symbol in labels of axes in a plot. So for example fig.gca(). ... How should I do this? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have a 2-d scatter plot of points, that correspond to images. I was wondering if there's an easy ... matplotlib or some other common package? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
961 views
1 answer
    I can remove the ticks with ax.set_xticks([]) ax.set_yticks([]) but this removes the labels as well. Any way ... but not the ticks and the spine See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
790 views
1 answer
    These options do not work... import numpy as np import matplotlib.pyplot as plt arr = np.random.random((5 ... scatter without writing a loop? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I am using seaborn.lineplot to generate some time series plots. I have pre-compute a specific kind of error ... Std error bars in lineplot? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
567 views
1 answer
    PatchCollection accepts a list of Patches and allows me to transform / add them to a canvas all at once. ... the individual patches as well. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
829 views
1 answer
    I've been searching around but couldn't find an easy solution to plot two heatmaps in one graphic by having each ... you for your time! -Peter See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
688 views
1 answer
    I have a simple dataset of X and Y values I am plotting in matplotlib. The independent variable in my data ... tailored to one input dataset. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
753 views
1 answer
    Why am I getting an error here that relates to the plt.plot label? fig = plt.figure() ax = plt.gca( ... ' object has no attribute 'get_label' See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
796 views
1 answer
    I am trying to do analysis on a bike share dataset. Part of the analysis includes showing the weekends' ... with matplotlib and seaborn library. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
560 views
1 answer
    When I try to import matplotlib I get an error Traceback (most recent call last): File "<stdin>", line 1, in <module ... Python 2.7.12 Pip 9.0.1 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
579 views
1 answer
    I have a large amount of plots and wish to draw them in the same figure using python. I'm currently using pylab ... object that I'm missing... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
856 views
1 answer
    Im trying to plot a scatter matrix. I'm building on the example given in this thread Is there a function ... for the last subplot alone. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
589 views
1 answer
    I have started to use PyCharm IDE, but I was not able to determine how to manage external libraries ... this library to PyCharm environment? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am plotting time series using pandas .plot() and want to see every month shown as an x-tick. Here is the ... to show more ticks on x-axis? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
655 views
1 answer
    I have a .txt file containing the x,y values of regularly spaced points in a 2D map, the 3rd coordinate ... the same result with matplotlib. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...