Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IFRs on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Abaqus: Why Viewport Shows Extra Border After Matplotlib Plot

HITVIP

Electrical
Sep 30, 2006
1
Hi everyone,

I'm experiencing a visual artifact issue in Abaqus 2025 after plotting using Matplotlib.

It appears as if the outline or border of another viewport is overlaid within the current viewport.

This creates a double-border or duplicated outline effect, making it difficult to view the model properly.

I've tried resizing and moving the viewport window, but the problem persists.

Here's the Python code I'm using to reproduce the problem:

Python:
import matplotlib.pyplot as plt
myx = [1., 2., 3.,  4.,  5.]
myy = [1., 4., 9., 16., 25.]
fig = plt.figure(1)
plt.plot(myx, myy)
plt.show()

Steps to reproduce my problem: I open Abaqus CAE, and then enter the code above into the Python command window.

The border overlay/artifact appears after the plot is generated as shown in the pictures below.

1.jpg2.jpg

I'm really stumped on this. Has anyone else encountered a similar viewport issue when using Matplotlib in Abaqus?

Any suggestions for troubleshooting would be greatly appreciated.

Thanks in advance for your help!


----------------------
I am writing to inquire about a post I made earlier today regarding a viewport issue.

I am unable to locate the original post now, and I'm not sure why it might have been removed or disappeared.

I suspect there may have been some issue with the initial posting.

Therefore, I have re-submitted a similar post with more detailed information about the problem I am encountering.

I have tried to describe the issue as clearly as possible.

If there is anything unclear in the re-submitted post, or if you require any further information, please let me know.

I appreciate your assistance and clarification on this matter.

Thank you for your time and help.
 

Part and Inventory Search

Sponsor