Explorar el Código

Adopted --subplot* in plot.py

As well as --legend* and --*ticklabels. Mostly for close feature parity, making
it easier to move plots between plot.py and plotmpl.py.
Christopher Haster hace 3 años
padre
commit
1f37eb5563
Se han modificado 2 ficheros con 713 adiciones y 185 borrados
  1. 707 183
      scripts/plot.py
  2. 6 2
      scripts/plotmpl.py

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 707 - 183
scripts/plot.py


+ 6 - 2
scripts/plotmpl.py

@@ -1150,11 +1150,15 @@ if __name__ == "__main__":
         help="Add a label to the y-axis.")
     parser.add_argument(
         '--xticklabels',
-        type=lambda x: [x.strip() for x in x.split(',')],
+        type=lambda x:
+            [x.strip() for x in x.split(',')]
+            if x.strip() else [],
         help="Comma separated xticklabels.")
     parser.add_argument(
         '--yticklabels',
-        type=lambda x: [x.strip() for x in x.split(',')],
+        type=lambda x:
+            [x.strip() for x in x.split(',')]
+            if x.strip() else [],
         help="Comma separated yticklabels.")
     parser.add_argument(
         '-t', '--title',

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio