Welcome to Randal Douc's wiki

A collaborative site on maths but not only!

User Tools

Site Tools


world:raccourcis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
world:raccourcis [2024/02/04 10:27]
rdouc
world:raccourcis [2024/02/25 21:36]
rdouc [Python]
Line 3: Line 3:
 ====== Brave ====== ====== Brave ======
   * Ctrl shift O: liste des favoris...   * Ctrl shift O: liste des favoris...
 +
 +====== TIG ======
 +  * tig puis s pour voir le statut puis ! devant le fichier changé pour retrouver l'​ancienne version ​
 +
  
 ====== Python ====== ====== Python ======
-  * #%% pour séparer les cellules+  * Pour séparer les cellules, insérer <​code>​ #%% </​code>​
   * a.shape: pour avoir la dimension du tableau **a**   * a.shape: pour avoir la dimension du tableau **a**
 +  * plt.clf(): effacer figure
 +  * plt.savefig():​ sauver une figure
 +  * plt.close():​ fermer une figure. ​
  
 ===== Python et Emacs ===== ===== Python et Emacs =====
Line 18: Line 25:
  
 ===== Jupyter et Emacs ===== ===== Jupyter et Emacs =====
- +  * M-x indent-rigidly:​ puis fleche a gauche ou droite. ​ 
- +  * Execute Cell: C-c C-c 
 +  * Execute Cell & Go to Next: M-RET 
 +  * New Cell Above: C-c C-a 
 +  * New Cell Below: C-c C-b 
 +  * Merge Cell: C-c Enter 
 +  * Split Cell: C-c C-s 
 +  * Kill Cell: C-c C-k 
 +  * Toggle Cell Type: C-c C-t 
 +  * Change Cell Type: C-c C-u 
 +  * Save Workbook: C-x C-s 
 +  * Discard Cell Output: C-c C-l 
 +  * Start Jupyter Server: M-x ein:​jupyter-server-start 
 +  * Stop Jupyter Server: M-x ein:​jupyter-server-stop 
 +  * [[https://​millejoh.github.io/​emacs-ipython-notebook/​| documentation sur le package EIN ]]
  
 ====== Latex ====== ====== Latex ======
world/raccourcis.txt · Last modified: 2024/02/25 21:38 by rdouc