Skip to content

Commit

Permalink
Call to tight_layout() raises warning but seems to be unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Jul 24, 2024
1 parent 5edbbc6 commit a605cb2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests_and_analysis/test/script_tests/test_powder_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def run_powder_map_and_test_result(
self, powder_map_args, keys_to_omit=['x_ticklabels']):
euphonic.cli.powder_map.main(powder_map_args)

matplotlib.pyplot.gcf().tight_layout() # Force tick labels to be set
image_data = get_current_plot_image_data()

with open(powder_map_output_file, 'r') as expected_data_file:
Expand Down

0 comments on commit a605cb2

Please sign in to comment.