Skip to content Skip to sidebar Skip to footer
Showing posts with the label Latex

Problems With Usetex In Osx 10.8

I recently upgraded to OSX 10.8 (Mountain Lion) and my python install is now misbehaving if I try t… Read more Problems With Usetex In Osx 10.8

Getting Data From A Chart That Is Displayed On A Website

I was asked to draw a graph like this one using Latex (more precisely, tikz and/or pgf). This woul… Read more Getting Data From A Chart That Is Displayed On A Website

Wrong Latex Rendering In Matplotlib

With python 2.7.12 (on Ubuntu 16.04), and matplotlib 1.5.2, the following code is rendered incorrec… Read more Wrong Latex Rendering In Matplotlib

Error Saving Matplotlib Figures To Pdf: 'str' Object Has No Attribute 'decode'

I have the following script to generate a figure with matplotlib: # -*- coding: utf-8 -*- import m… Read more Error Saving Matplotlib Figures To Pdf: 'str' Object Has No Attribute 'decode'

How Can I Use Matplotlib's Mathtext Rendering Outside Of Matplotlib In Another Tk Widget?

I know that matplotlib can render math expressions readily with, for instance, txt=Text(x,y,r'$… Read more How Can I Use Matplotlib's Mathtext Rendering Outside Of Matplotlib In Another Tk Widget?

Latex Command Substitution Using Regexp In Python

I wrote a very ugly script in order to parse some rows of latex in python and doing string substitu… Read more Latex Command Substitution Using Regexp In Python