Skip to main content

All Questions

Tagged with
1 vote
0 answers
93 views

Optimize display for diagrams with matplotlib

I use Python 3.43 and Matplotlib 1.5.0. I created a small example: # -*- coding: utf-8 -*- import matplotlib matplotlib.use("Qt5Agg") matplotlib.use("Svg") import matplotlib.pyplot as plt txts = ['...
Geosucher's user avatar
  • 107
5 votes
1 answer
6k views

How do I show legend for different colors in bokeh scatter plot?

This is my plot. I need to show the legend for the different colors used. How do I do that? My code for the plot: def mscatter(p, x, y, c,typestr,source): p.scatter(x, y, marker=typestr, ...
n00b's user avatar
  • 1,599
0 votes
1 answer
651 views

Empty square for legend for stackplot

I'm trying to generate a stack plot of version data using matplotlib. I have that portion working and displaying properly, but I'm unable to get the legend to display anything other than an empty ...
thegrinner's user avatar

15 30 50 per page
1
3 4 5 6
7