# Revision history [back]

### Why is Sage calling Wine to show 2D plots and how do I fix it?

This is a two-parter. Part the first is mainly out of curiosity. Part the second carries more weight.

I'm running an Arch (Manjaro) Linux machine. I have a fresh install of sagemath via pacman. My system is up to date, and I can open the sage console by calling it from the command line. I'd like to plot a 2D graph of a Brownian motion algorithm, but whenever I call it, Wine opens. The first time my graph was compiled, a dialog box opened and it said something along the lines of "Do you want to run this using Wine?". I don't have the exact line. I uninstalled and reinstalled Sage and deleted the cache. I wasn't able to replicate the dialog box. Anyway.

Why is Wine the default program to open a 2D plot? Curiously, I can show 3D plots just fine.

### Why is Sage calling Wine to show 2D plots and how do I fix it?

This is a two-parter. Part the first is mainly out of curiosity. Part the second carries more weight.

I'm running an Arch (Manjaro) Linux machine. I have a fresh install of sagemath via pacman. My system is up to date, and I can open the sage console by calling it from the command line. I'd like to plot a 2D graph of a Brownian motion algorithm, but whenever I call it, Wine opens. The first time my graph was compiled, a dialog box opened and it said something along the lines of "Do you want to run this using Wine?". I clicked yes. It no longer shows up. I don't have the exact line. I uninstalled and reinstalled Sage and deleted the cache. I wasn't able to replicate the dialog box. Anyway.

Why is Wine the default program to open a 2D plot? Curiously, I can show 3D plots just fine.

### Why is Sage calling Wine to show 2D plots and how do I fix it?

This is a two-parter. Part the first is mainly out of curiosity. Part the second carries more weight.

I'm running an Arch (Manjaro) Linux machine. I have a fresh install of sagemath via pacman. My system is up to date, and I can open the sage console by calling it from the command line. I'd like to plot a 2D graph of a Brownian motion algorithm, but whenever I call it, Wine opens. The first time my graph was compiled, a dialog box opened and it said something along the lines of "Do you want to run this using Wine?". I clicked yes. It no longer shows up. I don't have the exact line. I uninstalled and reinstalled Sage and deleted the cache. I wasn't able to replicate the dialog box. Anyway.

Whenever I run plot(<func>), the prompt reads back that it is launching a png viewer for a Graphics object, which I understand to be the correct output. But again, it opens in Wine via a Windows 95 looking Explorer window. Here's the path.

file:Z:\home\def\.sage\temp\tower\17759\tmp_esqczsyp.png

Why is Wine the default program to open a 2D plot? Curiously, I can show 3D plots just fine.