Ignore:
Timestamp:
08/26/15 11:56:43 (9 years ago)
Author:
labetoulle
Message:

add minor ticks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/ConsoGENCMIP6/bin/plot_login.py

    r2526 r2632  
    100100  """ 
    101101  """ 
     102  from matplotlib.ticker import AutoMinorLocator 
     103 
    102104  # ... Config axes ... 
    103105  # ------------------- 
     
    111113  ax.set_yticklabels(ylabels, size="x-small", fontweight="bold") 
    112114  ax.invert_yaxis() 
     115 
     116  minor_locator = AutoMinorLocator() 
     117  ax.xaxis.set_minor_locator(minor_locator) 
    113118 
    114119  # 3) Define axes title 
Note: See TracChangeset for help on using the changeset viewer.