Showing posts with label Annotation. Show all posts
Showing posts with label Annotation. Show all posts

Interactive figure with several 1D plot and one hovertools using Python and Bokeh


The result is:

Interactive figure with several 1D plot and one hovertools using Python and Bokeh

This code how to generate interactive figure with several 1D plot, one hovertools and togglable legend using Python and Bokeh. This is a continuing post of last one.

Interactive figure with several 1D plot and several hovertools using Python and Bokeh


The result is:

Interactive figure with several 1D plot and several hovertools using Python and Bokeh

This page shows how to generate interactive figure with several 1D plot and several hovertools using Python and Bokeh. The way to merge hovertools will be shown in the next post.

Interactive 1D time-scale plot with hovertool using Python and Bokeh


The result (static image) is:

Interactive 1D time-scale plot with hovertool using Python and Bokeh

This page shows how to generate interactive time-scale 1D line plot with hovertool (stock data) using Python and Bokeh.

Generate normalized stacked barplot with sample number and percentage using Python and matplotlib.pyplot


The result is:

Generate normalized stacked barplot with sample number and percentage using Python and matplotlib.pyplot

This page shows how to generate normalized stacked barplot with sample number of each bar and percentage of each data using python and matplotlib.pyplot.

Add sample number to stacked barplot using Python and matplotlib.pyplot


The result is:

Add sample number to stacked barplot using Python and matplotlib.pyplot


This page shows how to add sample number to stacked barplot using Python and matplotlib.pyplot.

Generate stacked barplot using Python and matplotlib.pyplot


The result is:

Generate stacked barplot using Python and matplotlib.pyplot

This page shows how to generate stacked barplot using Python and matplotlib.pyplot.

Decrease padding around annotation text using Python and matplotlib.pyplot


The result is:
This page shows how to decrease the padding around the annotation text using python and matplotlib.pyplot.

When you struggle to draw efficient figures, you sometimes think the padding around the annotation text is to big. This page shows how to decrease the padding around the annotation text using python and matplotlib.pyplot.