Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Permanently removing plot transparency

this is what plots should look like:

cdn.discordapp.com/attachments/531944364554059778/836205750984507402/sage-light.png


this is what they look like in dark theme:

cdn.discordapp.com/attachments/531944364554059778/836205951635292190/sage-dark.png


(i do not have enough points to embed the images, sorry)

Could i make the background permanently opaque, and permanently change the font size to something more reasonable like mathematica has for reference?

Permanently removing plot transparency

this is what plots should look like:

cdn.discordapp.com/attachments/531944364554059778/836205750984507402/sage-light.png


this is what they Plots look like this in dark light theme:

cdn.discordapp.com/attachments/531944364554059778/836205951635292190/sage-dark.png


(i do not have enough points to embed the images, sorry)but in dark theme they look like this:

Could i make the background permanently opaque, opaque, and permanently change the font size to something something more reasonable like mathematica Mathematica has for reference?

Permanently removing plot transparency

Plots look like this in in Jupyter: Mathematica vs Sage

Below are four versions of a same plot in Jupyter notebooks in JupyterLab:

  • light theme:theme vs dark theme
  • Mathematica vs Sage, using the Wolfram Language kernel and the SageMath kernel

Light theme

Left: Mathematica. Right: SageMath.

but

Dark theme

Left: Mathematica. Right: SageMath.

Observation

In the SageMath plots,

  • the font size is inconsistent between the axis labels and tick labels
  • the white background does not include the axes or tick labels if the plot does not extend to an area covering them; as a consequence, in dark theme they look like this:

    mode,

    • the y-axis label and y-axis tick labels,
    • the x-axis, x-axis label and x-axis tick labels,

    are black on a black background, and cannot be seen.

Question

Could i make the background permanently opaque, and permanently change the font size to something more reasonable like Mathematica has for reference?

Permanently removing plot transparency

Plots in Jupyter: Mathematica vs Sage

Below are four versions of a same plot in Jupyter notebooks in JupyterLab:

  • light theme vs dark theme
  • Mathematica vs Sage, using the Wolfram Language kernel and the SageMath kernel

Light theme

Left: Mathematica. Right: SageMath.

Dark theme

Left: Mathematica. Right: SageMath.

Observation

In the SageMath plots,

  • the font size is inconsistent between the axis labels and tick labels
  • the white background does not include the axes or tick labels if the plot does not extend to an area covering them; as a consequence, in dark mode,

    • the y-axis label and y-axis tick labels,
    • the x-axis, x-axis label and x-axis tick labels,

    are black on a black background, and cannot be seen.

Question

Could i make the background permanently opaque, and permanently change the font size to something more reasonable like Mathematica has for reference?

Permanently removing plot transparencyAdjusting non-transparent background size for plots

Plots in Jupyter: Mathematica vs Sage

Below are four versions of a same plot in Jupyter notebooks in JupyterLab:

  • light theme vs dark theme
  • Mathematica vs Sage, using the Wolfram Language kernel and the SageMath kernel

Light theme

Left: Mathematica. Right: SageMath.

Dark theme

Left: Mathematica. Right: SageMath.

Observation

In the SageMath plots,

  • the font size is inconsistent between the axis labels and tick labels
  • the white background does not include the axes or tick labels if the plot does not extend to an area covering them; as a consequence, in dark mode,

    • the y-axis label and y-axis tick labels,
    • the x-axis, x-axis label and x-axis tick labels,

    are black on a black background, and cannot be seen.

Question

Could i make the background permanently opaque, and permanently change the font size to something more reasonable like Mathematica has for reference?

Adjusting non-transparent background size Background for plotsplot should include axes and labels

Plots in Jupyter: Mathematica vs Sage

Below are four versions of a same plot in Jupyter notebooks in JupyterLab:

  • light theme vs dark theme
  • Mathematica vs Sage, using the Wolfram Language kernel and the SageMath kernel

To reproduce, either use the notebooks: mathematica | sage, or use the following code snippet:

f = 8.252e-5 - 0.035e-10*x
I = (0, 1e5)
labels = ["altitude in meters", "force difference in newtons"]
plot(f, I, axes_labels=labels)

Light theme

Left: Mathematica. Right: SageMath.

Dark theme

Left: Mathematica. Right: SageMath.

Observation

In the SageMath plots,

  • the font size is inconsistent between the axis labels and tick labels
  • the white background does not include the axes or tick labels if the plot does not extend to an area covering them; as a consequence, in dark mode,

    • the y-axis label and y-axis tick labels,
    • the x-axis, x-axis label and x-axis tick labels,

    are black on a black background, and cannot be seen.

Question

Could i make the background permanently opaque, and permanently change the font size to something more reasonable like Mathematica has for reference?

Background for plot should include axes and labels

Plots in Jupyter: Mathematica vs Sage

Below are four versions of a same plot in Jupyter notebooks in JupyterLab:

  • light theme vs dark theme
  • Mathematica vs Sage, using the Wolfram Language kernel and the SageMath kernel

To reproduce, either use the notebooks: mathematica | sage, or use the following code snippet:

f = 8.252e-5 - 0.035e-10*x
I = (0, 1e5)
labels = ["altitude in meters", "force difference in newtons"]
plot(f, I, axes_labels=labels)

and in JupyterLab, select light or dark via the "Settings > JupyterLab Theme" menu.

Light theme

Left: Mathematica. Right: SageMath.

Dark theme

Left: Mathematica. Right: SageMath.

Observation

In the SageMath plots,

  • the font size is inconsistent between the axis labels and tick labels
  • the white background does not include the axes or tick labels if the plot does not extend to an area covering them; as a consequence, in dark mode,

    • the y-axis label and y-axis tick labels,
    • the x-axis, x-axis label and x-axis tick labels,

    are black on a black background, and cannot be seen.

Question

Could i make the background permanently opaque, and permanently change the font size to something more reasonable like Mathematica has for reference?