- Timestamp:
- 08/26/15 11:56:43 (9 years ago)
- Location:
- TOOLS/ConsoGENCMIP6/bin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/ConsoGENCMIP6/bin/plot_bilan.py
r2631 r2632 240 240 """ 241 241 """ 242 from matplotlib.ticker import AutoMinorLocator 243 242 244 # ... Config axes ... 243 245 # ------------------- … … 292 294 maj_xlabs, rotation="vertical", size="x-small" 293 295 ) 296 297 minor_locator = AutoMinorLocator() 298 ax.yaxis.set_minor_locator(minor_locator) 294 299 295 300 yticks = list(ax_conso.get_yticks()) -
TOOLS/ConsoGENCMIP6/bin/plot_bilan_jobs.py
r2631 r2632 262 262 """ 263 263 """ 264 from matplotlib.ticker import AutoMinorLocator 265 264 266 # ... Config axes ... 265 267 # ------------------- … … 320 322 (ax_jobs, conso_per_day / 24., "cÅurs"), 321 323 ): 324 minor_locator = AutoMinorLocator() 325 ax.yaxis.set_minor_locator(minor_locator) 326 322 327 yticks = list(ax.get_yticks()) 323 328 yticks.append(y) -
TOOLS/ConsoGENCMIP6/bin/plot_jobs.py
r2631 r2632 216 216 """ 217 217 """ 218 from matplotlib.ticker import AutoMinorLocator 219 218 220 # ... Config axes ... 219 221 # ------------------- … … 241 243 ax.set_xticks(maj_xticks, minor=False) 242 244 ax.set_xticklabels(maj_xlabs, rotation="vertical", size="x-small") 245 246 minor_locator = AutoMinorLocator() 247 ax.yaxis.set_minor_locator(minor_locator) 243 248 244 249 yticks = list(ax.get_yticks()) -
TOOLS/ConsoGENCMIP6/bin/plot_login.py
r2526 r2632 100 100 """ 101 101 """ 102 from matplotlib.ticker import AutoMinorLocator 103 102 104 # ... Config axes ... 103 105 # ------------------- … … 111 113 ax.set_yticklabels(ylabels, size="x-small", fontweight="bold") 112 114 ax.invert_yaxis() 115 116 minor_locator = AutoMinorLocator() 117 ax.xaxis.set_minor_locator(minor_locator) 113 118 114 119 # 3) Define axes title -
TOOLS/ConsoGENCMIP6/bin/plot_store.py
r2526 r2632 169 169 """ 170 170 """ 171 from matplotlib.ticker import AutoMinorLocator 172 171 173 # ... Config axes ... 172 174 # ------------------- … … 180 182 ax.set_yticklabels(ylabels, size="x-small", fontweight="bold") 181 183 ax.invert_yaxis() 184 185 minor_locator = AutoMinorLocator() 186 ax.xaxis.set_minor_locator(minor_locator) 182 187 183 188 xmin, xmax = ax.get_xlim()
Note: See TracChangeset
for help on using the changeset viewer.