Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

matplotlib

How do I set the figure title and axes labels font size?

by IT Nursery

Functions dealing with text like label, title, etc. accept parameters same as matplotlib.text.Text. For the font size you can use size/fontsize: from matplotlib … Read more

Tags matplotlib, python

How to put the legend outside the plot

by IT Nursery

There are a number of ways to do what you want. To add to what Christian Alis and Navi already said, you can … Read more

Tags legend, matplotlib, python, seaborn

How to display the value of the bar on each bar with pyplot.barh()

by IT Nursery

I generated a bar plot, how can I display the value of the bar on each bar? Current plot: What I am trying … Read more

Tags bar-chart, matplotlib, python

Plot yerr/xerr as shaded region rather than error bars

by IT Nursery

In matplotlib, how do I plot error as a shaded region rather than error bars? For example: rather than Best Answer 2

Tags matplotlib, python

Adding a y-axis label to secondary y-axis in matplotlib

by IT Nursery

I can add a y label to the left y-axis using plt.ylabel, but how can I add it to the secondary y-axis? table … Read more

Tags matplotlib, python

Matplotlib scatterplot; color as a function of a third variable

by IT Nursery

I want to make a scatterplot (using matplotlib) where the points are shaded according to a third variable. I’ve got very close with … Read more

Tags matplotlib, plot, python, scatter

Aligning rotated xticklabels with their respective xticks

by IT Nursery

Check the x axis of the figure below. How can I move the labels a bit to the left so that they align … Read more

Tags axis-labels, matplotlib, python

Bin size in Matplotlib (Histogram)

by IT Nursery

I’m using matplotlib to make a histogram. Is there any way to manually set the size of the bins as opposed to the … Read more

Tags histogram, matplotlib, python

How can I remove the top and right axis in matplotlib?

by IT Nursery

Instead of the default “boxed” axis style I want to have only the left and bottom axis, i.e.: +——+ | | | | … Read more

Tags matplotlib, python

Format y axis as percent

by IT Nursery

I have an existing plot that was created with pandas like this: df[‘myvar’].plot(kind=’bar’) The y axis is format as float and I want … Read more

Tags matplotlib, pandas, plot, python
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page13 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x