mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 01:25:46 +01:00 
			
		
		
		
	[docs] latex detection in example notebooks improved.
This commit is contained in:
		
					parent
					
						
							
								e1a4d0c218
							
						
					
				
			
			
				commit
				
					
						fb17a46eb9
					
				
			
		
					 5 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@
 | 
			
		|||
   "source": [
 | 
			
		||||
    "plt.style.use('./base_style.mplstyle')\n",
 | 
			
		||||
    "import shutil\n",
 | 
			
		||||
    "usetex = shutil.which('latex') != ''\n",
 | 
			
		||||
    "usetex = shutil.which('latex') not in ('', None)\n",
 | 
			
		||||
    "plt.rc('text', usetex=usetex)"
 | 
			
		||||
   ]
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue