You could use Visdom 124 to plot your curve.
Since you already have the necessary numpy arrays representing the precision and recall, you could try to plot the line using viz.line 20.
I’m not sure, which arguments tensorboardX expects for the PR curve.
Let me know, if visdom would be an alternative or if you would like to stick to tensorboardX.