Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7278727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:54:51+00:00 2026-05-28T22:54:51+00:00

Is it possible to increase the antialiasing in matplotlib? I can still see some

  • 0

Is it possible to increase the antialiasing in matplotlib?
I can still see some aliasing in my data, I tried several backends and it is still there. The antialiasing flag of the lines is set.

Here you can see what I mean

enter image description here

It’s a sample taken from a Screenshot. It’s probably not the best example but I guess one can see the stairs in the line. It was taken with the wxagg backend.

I’m using matplotlib version 1.01 with Windows 7.

Update:
I don’t have the code which produced the previous picture anymore, but I still have the problem. Below is a simple code example which shows the aliasing.

import numpy as np
import matplotlib
matplotlib.use('wxAgg')
import matplotlib.pyplot as pl
print 'Backend:', pl.get_backend()

x = np.linspace(0,6,100)
y = np.sin(x)

for a in range(10):
    pl.plot( x, a/10.*x, linewidth=1)

pl.show()

It print’s Backend: WXAgg
And the resulting plot looks like the following.
aliasing

Especially the lower red curve shows clear aliasing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T22:54:51+00:00Added an answer on May 28, 2026 at 10:54 pm

    The picture you added to your question is already perfectly anti-aliased. It doesn’t get any better than this. Have a look at a zoomed version of the image:

    Upscaled version of the image in question

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Are there any O(1/n) algorithms? Any algorithm whose complexity decreases with increase
Is it possible to increase the distance from a grid splitter from which the
Is it possible to programmatically, or otherwise, increase the width of the Windows console
Many data analysts that I respect use version control. For example: http://github.com/hadley/ See comments
Is is possible to increase the font size of an Excel Validation List via
Is it possible to increase the timeout for a single ASP.net page. I know
Is it in anyway possible to increase the number of suggests that your extension
How do I increase DatePicker height in iPad? Is this possible? And also one
http://upload.wikimedia.org/wikipedia/commons/a/a5/Map_of_USA_with_state_names.svg is it possible to increase the size of this map?
I know its possible to increase the size of a dynamically allocated array. But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.