Pretty Python Plotting With CairoPlot | Linux Today

Pretty Python Plotting With CairoPlot

Written By
Web Webster
Web Webster
Apr 6, 2011

[ Thanks to Amy Newman for this link.
]

“Our postfix server rejects mail like this, because it’s usually
spam. Properly configured mail servers shouldn’t make up bogus
addresses–though a few misconfigured ones do.

“But where do these bogus requests come from? Do they come from
specific countries? How many from .com or .org versus from specific
country domains?

“To find out, I’ll create a Python dictionary, then use
CairoPlot to plot a pie chart. Each key in the dictionary will be a
top-level domain — for example, “com”; the value will be the
number of rejected messages seen from that domain.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.