Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

matplotlib

Python: find contour lines from matplotlib.pyplot.contour()

August 11, 2022 by Magenaut

I’m trying to find (but not draw!) contour lines for some data:

Categories Python, Q&A Tags contour, matplotlib, numpy, python, spatial Leave a comment

Python: How to increase/reduce the fontsize of x and y tick labels?

August 11, 2022 by Magenaut

I seem to have a problem in figuring out how to increase or decrease the fontsize of both the x and y tick labels while using matplotlib.

Categories Python, Q&A Tags axis-labels, keyword-argument, matplotlib, python, text Leave a comment

Legend only shows one label when plotting with pandas

August 11, 2022 by Magenaut

I have two Pandas DataFrames that I’m hoping to plot in single figure. I’m using IPython notebook.

Categories Python, Q&A Tags matplotlib, pandas, plot, python Leave a comment

how to change the color of a single bar if condition is True matplotlib

August 11, 2022 by Magenaut

I’ve been googleing to find if it’s possible to change only the color of a bar in a graph made by matplotlib.
Imagine this graph:

Categories Python, Q&A Tags matplotlib, python Leave a comment

How to force the Y axis to only use integers in Matplotlib

August 11, 2022 by Magenaut

I’m plotting a histogram using the matplotlib.pyplot module and I am wondering how I can force the y-axis labels to only show integers (e.g. 0, 1, 2, 3 etc.) and not decimals (e.g. 0., 0.5, 1., 1.5, 2. etc.).

Categories Python, Q&A Tags axis-labels, matplotlib, python Leave a comment

ubuntu 14.04, pip cannot upgrade matplotllib

August 11, 2022 by Magenaut

When I try to upgrade my matplotlib using pip, it outputs:

Categories Python, Q&A Tags matplotlib, pip, python Leave a comment

Setting axes.linewidth without changing the rcParams global dict

August 11, 2022 by Magenaut

So, it seems one cannot do the following (it raises an error, since axes does not have a set_linewidth method):

Categories Python, Q&A Tags graphing, matplotlib, plot, python Leave a comment

Specifying the order of matplotlib layers

August 11, 2022 by Magenaut

Suppose I run the following script:

Categories Python, Q&A Tags layer, matplotlib, plot, python Leave a comment

Row titles for matplotlib subplot

August 11, 2022 by Magenaut

In matplotlib, Is it possible to set a a separate title for each row of subplots in addition to the title set for the entire figure and the title set for each individual plot? This would correspond to the orange text in the figure below.
enter image description here

Categories Python, Q&A Tags matplotlib, python, subplot Leave a comment

How to modify the navigation toolbar easily in a matplotlib figure window?

August 11, 2022 by Magenaut

Is it possible to do something like the following to modify the navigation toolbar in matplotlib?

Categories Python, Q&A Tags matplotlib, python Leave a comment
Older posts
Newer posts
← Previous Page1 … Page41 Page42 Page43 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress