mirror of
				https://github.com/fjosw/pyerrors.git
				synced 2025-11-04 01:25:46 +01:00 
			
		
		
		
	docs: remove deprecated call to checkdep_usetex.
This commit is contained in:
		
					parent
					
						
							
								fe54b1aa13
							
						
					
				
			
			
				commit
				
					
						8cc9c835f7
					
				
			
		
					 5 changed files with 10 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -19,7 +19,8 @@
 | 
			
		|||
   "outputs": [],
 | 
			
		||||
   "source": [
 | 
			
		||||
    "plt.style.use('./base_style.mplstyle')\n",
 | 
			
		||||
    "usetex = matplotlib.checkdep_usetex(True)\n",
 | 
			
		||||
    "import shutil\n",
 | 
			
		||||
    "usetex = shutil.which('latex') != ''\n",
 | 
			
		||||
    "plt.rc('text', usetex=usetex)"
 | 
			
		||||
   ]
 | 
			
		||||
  },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue