Electron microscopy
 
Plot Table
- Python for Integrated Circuits -
- An Online Book -
Python for Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

Syntax of Matplotlib Table:

matplotlib.pyplot.table(cellText=None, cellColours=None, cellLoc='right', colWidths=None, rowLabels=None, rowColours=None, rowLoc='left', colLabels=None, colColours=None, colLoc='center', loc='bottom', bbox=None, edges='closed', **kwargs)

Parameters:
     cellText: The texts to place into the table cells.
     cellColours: The background colors of the cells.
     cellLoc: The alignment of the text within the cells. (default: ‘right’)
     colWidths (optional): The column widths in units of the axes.
     rowLabels (optional): The text of the row header cells.
     rowColours (optional): The colors of the row header cells.
     rowLoc (optional): The text alignment of the row header cells. (default: ‘left’)
     colLabels (optional): The text of the column header cells.
     colColours (optional): The colors of the column header cells.
     colLoc (optional): The text alignment of the column header cells.(default: ‘left’)
     Loc (optional): This parameter is the position of the cell with respect to ax.
     bbox (optional): This parameter is the bounding box to draw the table into.
     edges (optional): This parameter is the cell edges to be drawn with a line.
     **kwargs: Used to control table properties.

============================================

Plot a table. code:          
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Find the best similarity with Word2Vec Models/word embeddings

============================================

Plot a table. code:          
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Find the best similarity with Word2Vec Models/word embeddings

============================================
Plot can be blurry if the setting is not correct, for instance below.          
Code:         
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Find the best similarity with Word2Vec Models/word embeddings
Code:         
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Find the best similarity with Word2Vec Models/word embeddings
Code:         
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Find the best similarity with Word2Vec Models/word embeddings
Code:         
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Add a new slide on ppt

============================================
Create a table with a grey row. (code)     
         Find the best similarity with Word2Vec Models/word embeddings
Output:         
         Find the best similarity with Word2Vec Models/word embeddings

============================================

Simple table plot (code):

                  

Output:

                  

============================================

Remove the border of the first cell with set_edgecolor and set_linewidth (code):

                  

Output:

                  

============================================

Different column widths (code):

                  

Output:

                  

============================================

Font and table sizes (code): 

         

Output:

                  

============================================

Confusion matrix with "merged" cell. Code:

         

       Output:

        

============================================

Turn off axis. Color in Table obtained by matplotlib.pyplot. code:
         Replace a letter by seek
     Output:    
         Replace a letter by seek        

============================================

 

         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 



















































 

 

 

 

 

=================================================================================